Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problem - COMPILER="" [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MattBrown68
n00b
n00b


Joined: 24 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 7:14 am    Post subject: emerge problem - COMPILER="" [solved] Reply with quote

I'm having trouble with emerge system. It dies trying to emerge "sys-libs/db-4.3.29-r2". I have done some searches to try to find the answer to this problem, but haven't found anything. The error text from the emerge is below, but I want to add a caveat first. I have been doing searches and have found people with the first error, but none of the solutions fixed things for me. It seems like mine should be a simple fix, but I'm missing something crucial. Anyway, on to the error:

Code:

checking for i386-pc-linux-gnu-rm... no
checking for rm... rm
checking for i386-pc-linux-gnu-rpcgen... no
checking for rpcgen... rpcgen
checking for i386-pc-linux-gnu-sh... no
checking for sh... sh
checking for sh... /bin/sh
checking for i386-pc-linux-gnu-strip... i386-pc-linux-gnu-strip
checking for i386-pc-linux-gnu-strip... /usr/bin/i386-pc-linux-gnu-strip
checking for a BSD-compatible install... /bin/install -c
checking for i386-pc-linux-gnu-cc... no
checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler
 cannot create executables
See `config.log' for more details.

!!! ERROR: sys-libs/db-4.3.29-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  db-4.3.29-r2.ebuild, line 109:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.
03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


There is not config.log that I can find. I find a lot of help on the error at the top, which is "C compiler cannot create executables", but none of the thread suggestions help. I think it should be an easy fix, though, because there is a confusing string at the bottom:
Code:
COMPILER=""


Shouldn't that variable have some value? I tried adding the following line to /etc/make.conf, but got the same error.

Code:
COMPILER="gcc"


Anyone know what that variable value should be and where it is defined?


Last edited by MattBrown68 on Wed Sep 27, 2006 12:42 am; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722
Location: Cluj-Napoca, Romania

PostPosted: Sun Sep 24, 2006 7:52 am    Post subject: Reply with quote

No, that refers to the Java compiler used for the bindings which can be disabled by adding
Code:
sys-libs/db -java
to /etc/portage/package.use. The real issue is, of course, "C compiler cannot create executables" and has nothing to do with COMPILER="". By the looks of it you have the wrong CHOST, or had it when emerging the compiler, but I cannot be sure since you happily ignored the error message you posted which clearly stated that you should include
your pasted error output wrote:
Code:
and of course, the output of emerge --info
Please do that, and please also include the last 100 or so lines of the config.log from the failed emerge (should be somewhere under /var/tmp/portage/db-4.3.29-r2/work/db-4.3.29-r2).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
MattBrown68
n00b
n00b


Joined: 24 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 3:36 pm    Post subject: Reply with quote

Thanks for replying! Actually, I didn't happily ignore that message, I thought about it for quite awhile and then figured that it meant when filing a bug in the bug tracker. I was pretty stuck on the COMPILER issue, I guess. Sorry about that. Here is the output of emerge --info:

Code:

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.3.4.20041102
-r1, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
Last Sync: Sat, 23 Sep 2006 06:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu
tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/
mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvip
dfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LINGUAS=""
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="<a lot, see below>"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTA
GE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Now, this is my second gentoo install and in the first install I had some problems because of not selecting a USE flag that I needed. This install has a lot of them, so I will put them in a seperate post in order to make this a little more readable.

Here is the config.log, which is quite long. I'm including the last 200 lines or so instead of 100 because it looks like there is some important info 200 lines up (or here at the beginning of this listing):

Code:

configure:3485: result: i386-pc-linux-gnu-gcc
configure:3548: checking for C compiler version
configure:3551: i386-pc-linux-gnu-gcc -dumpversion </dev/null >&5
3.4.6
configure:3554: $? = 0
configure:3556: i386-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i386-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/include/g++-v3 --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java,objc,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
configure:3559: $? = 0
configure:3561: i386-pc-linux-gnu-gcc -V </dev/null >&5
i386-pc-linux-gnu-gcc: `-V' option must have argument
configure:3564: $? = 1
configure:3587: checking for C compiler default output file name
configure:3590: i386-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer  -D_GNU_SOURCE -D_REENTRANT  -Wl,--default-symver conftest.c  >&5
/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../../../i386-pc-linux-gnu/bin/ld: unrecognized option '--default-symver'
/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../../../i386-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure:3593: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Berkeley DB"
| #define PACKAGE_TARNAME "db-4.3.29"
| #define PACKAGE_VERSION "4.3.29"
| #define PACKAGE_STRING "Berkeley DB 4.3.29"
| #define PACKAGE_BUGREPORT "support@sleepycat.com"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3632: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_ct_db_cv_path_chmod=chmod
ac_ct_db_cv_path_cp=cp
ac_ct_db_cv_path_ln=ln
ac_ct_db_cv_path_mkdir=mkdir
ac_ct_db_cv_path_rm=rm
ac_ct_db_cv_path_rpcgen=rpcgen
ac_cv_build=i386-pc-linux-gnu
ac_cv_build_alias=i386-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=pentium3 -O3 -pipe -fomit-frame-pointer'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -Wl,--default-symver'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-pc-linux-gnu
ac_cv_host_alias=i386-pc-linux-gnu
ac_cv_path_db_cv_path_ranlib=/usr/bin/i386-pc-linux-gnu-ranlib
ac_cv_path_db_cv_path_sh=/bin/sh
ac_cv_path_db_cv_path_strip=/usr/bin/i386-pc-linux-gnu-strip
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CC=i386-pc-linux-gnu-gcc
ac_cv_prog_ac_ct_db_cv_path_chmod=chmod
ac_cv_prog_ac_ct_db_cv_path_cp=cp
ac_cv_prog_ac_ct_db_cv_path_ln=ln
ac_cv_prog_ac_ct_db_cv_path_mkdir=mkdir
ac_cv_prog_ac_ct_db_cv_path_rm=rm
ac_cv_prog_ac_ct_db_cv_path_rpcgen=rpcgen
ac_cv_prog_ac_ct_path_sh=sh
ac_cv_prog_db_cv_path_ar=i386-pc-linux-gnu-ar
ac_cv_prog_path_ranlib=i386-pc-linux-gnu-ranlib
ac_cv_prog_path_strip=i386-pc-linux-gnu-strip
db_cv_build_cryptography=yes
db_cv_build_hash=yes
db_cv_build_queue=yes
db_cv_build_replication=yes
db_cv_build_statistics=yes
db_cv_build_type=release
db_cv_build_verify=yes
db_cv_compat185=yes
db_cv_cxx=yes
db_cv_debug=no
db_cv_debug_rop=no
db_cv_debug_wop=no
db_cv_diagnostic=no
db_cv_dump185=no
db_cv_java=yes
db_cv_mingw=no
db_cv_o_direct=no
db_cv_path_ar=i386-pc-linux-gnu-ar
db_cv_path_chmod=chmod
db_cv_path_cp=cp
db_cv_path_ln=ln
db_cv_path_mkdir=mkdir
db_cv_path_ranlib=/usr/bin/i386-pc-linux-gnu-ranlib
db_cv_path_rm=rm
db_cv_path_rpcgen=rpcgen
db_cv_path_sh=/bin/sh
db_cv_path_strip=/usr/bin/i386-pc-linux-gnu-strip
db_cv_posixmutexes=no
db_cv_rpc=yes
db_cv_smallbuild=no
db_cv_tcl=no
db_cv_test=no
db_cv_uimutexes=no
db_cv_umrw=no
db_cv_uniquename=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ADDITIONAL_INCS=''
ADDITIONAL_LANG=''
ADDITIONAL_OBJS=''
ADDITIONAL_PROGS=''
AR=''
BUILD_TARGET='library_build'
CC='i386-pc-linux-gnu-gcc'
CCC=''
CFLAGS='-march=pentium3 -O3 -pipe -fomit-frame-pointer'
CONFIGURATION_ARGS=''
CONFIGURATION_PATH=''
CPP=''
CPPFLAGS=' -D_GNU_SOURCE -D_REENTRANT'
CRYPTO_OBJS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DB_CONST=''
DB_PROTO1=''
DB_PROTO2=''
DB_VERSION_MAJOR='4'
DB_VERSION_MINOR='3'
DB_VERSION_PATCH='29'
DB_VERSION_STRING='"Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)"'
DB_VERSION_UNIQUE_NAME=''
DEFAULT_LIB=''
DEFAULT_LIB_CXX=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALLER=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LIBS=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_TARGET='library_install'
JAR=''
JAVA='/opt/blackdown-jdk-1.4.2.03/bin/java'
JAVAC='/opt/blackdown-jdk-1.4.2.03/bin/javac'
JAVACFLAGS='-source 1.4 -target 1.4'
JMODSUFFIX=''
LDFLAGS=' -Wl,--default-symver'
LIBJSO_LIBS=''
LIBOBJS=''
LIBS=''
LIBSO_LIBS=''
LIBTOOL=''
LIBTSO_LIBS=''
LIBTSO_MODSUFFIX=''
LIBTSO_MODULE=''
LIBXSO_LIBS=''
LN_S=''
LTLIBOBJS=''
MAKEFILE_CC=''
MAKEFILE_CCLINK=''
MAKEFILE_CXX=''
MAKEFILE_CXXLINK=''
MAKEFILE_SOLINK=''
MAKEFILE_XSOLINK=''
MODSUFFIX=''
OBJEXT=''
OSDIR=''
PACKAGE_BUGREPORT='support@sleepycat.com'
PACKAGE_NAME='Berkeley DB'
PACKAGE_STRING='Berkeley DB 4.3.29'
PACKAGE_TARNAME='db-4.3.29'
PACKAGE_VERSION='4.3.29'
PATH_SEPARATOR=':'
POSTLINK=''
RANLIB=''
REPLACEMENT_OBJS=''
RPC_CLIENT_OBJS=''
RPC_SERVER_H=''
SHELL='/bin/sh'
SOFLAGS=''
SOSUFFIX=''
STRIP=''
TCFLAGS=''
TCL_BIN_DIR=''
TCL_LIB_FILE=''
TCL_SRC_DIR=''
TCL_TCLSH=''
TEST_LIBS=''
_ACJNI_JAVAC=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CCC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_ct_db_cv_path_ar=''
ac_ct_db_cv_path_chmod='chmod'
ac_ct_db_cv_path_cp='cp'
ac_ct_db_cv_path_kill=''
ac_ct_db_cv_path_ln='ln'
ac_ct_db_cv_path_mkdir='mkdir'
ac_ct_db_cv_path_rm='rm'
ac_ct_db_cv_path_rpcgen='rpcgen'
ac_ct_path_ranlib=''
ac_ct_path_sh='sh'
ac_ct_path_strip=''
bindir='${exec_prefix}/bin'
build='i386-pc-linux-gnu'
build_alias='i386-pc-linux-gnu'
build_cpu='i386'
build_os='linux-gnu'
build_vendor='pc'
cxx_have_stdheaders=''
datadir='/usr/share'
db_cv_build_type='release'
db_cv_path_ar='i386-pc-linux-gnu-ar'
db_cv_path_chmod='chmod'
db_cv_path_cp='cp'
db_cv_path_kill=''
db_cv_path_ln='ln'
db_cv_path_mkdir='mkdir'
db_cv_path_ranlib='/usr/bin/i386-pc-linux-gnu-ranlib'
db_cv_path_rm='rm'
db_cv_path_rpcgen='rpcgen'
db_cv_path_sh='/bin/sh'
db_cv_path_strip='/usr/bin/i386-pc-linux-gnu-strip'
db_int_def=''
db_seq_decl=''
exec_prefix='NONE'
host='i386-pc-linux-gnu'
host_alias='i386-pc-linux-gnu'
host_cpu='i386'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
int16_decl=''
int32_decl=''
int64_decl=''
inttypes_h_decl=''
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
o=''
oldincludedir='/usr/include'
path_ranlib='i386-pc-linux-gnu-ranlib'
path_sh='sh'
path_strip='i386-pc-linux-gnu-strip'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
ssize_t_decl=''
stddef_h_decl=''
stdint_h_decl=''
sysconfdir='/etc'
target_alias=''
u_char_decl=''
u_int16_decl=''
u_int32_decl=''
u_int64_decl=''
u_int8_decl=''
u_int_decl=''
u_long_decl=''
u_short_decl=''
uintmax_t_decl=''
uintptr_t_decl=''
uudecode=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "support@sleepycat.com"
#define PACKAGE_NAME "Berkeley DB"
#define PACKAGE_STRING "Berkeley DB 4.3.29"
#define PACKAGE_TARNAME "db-4.3.29"
#define PACKAGE_VERSION "4.3.29"

configure: exit 77
Back to top
View user's profile Send private message
MattBrown68
n00b
n00b


Joined: 24 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 3:41 pm    Post subject: Reply with quote

Here are the use flags:

Code:

USE="16bit X a52 aalib abook acl acpi activefilter ada adns aim aio aliaschain a
llegro alsa amarok amd amr ao aotuv apache apache2 apm applet aqua_theme arts ar
tswrappersuid artworkextra asm async athena audiofile authfile avalon avantgo av
i bash-completion bcmath beep berkdb bind-mysql bindist bitmap-fonts bl blas ble
nder-game boo bootsplash bundled-libs buttons bzip2 c++ c3p0 cacheemu cairo cale
ndar cap caps cdb cdda cddb cdf cdinstall cdio cdr cdrom cegui cg cgi chasen chr
oot cis ck-server clamav clamd clanJavaScript clanVoice cle266 cli clisp cln clu
ster cmucl commercial corba courier cpdflib cpudetection cracklib crypt cscope c
ss csv ctype cups curl curlwrappers custom-cflags customlog custreloc cvsgraph c
yrus daap dba dbase dbcp dbi dbm dbus dbx debug_gdb debugger dedicated delays de
vfs26 devil devmap dga dhcp dict dillo dio directfb disablexmb disk-cache distri
bution divx4linux djvu dlloader dlz dmx dnd dnsdb doc dpms drac dri dts dv dvb d
vd dvdr dvdread dvi dynagraph ecc editor edl eds elf elibc_glibc emboss emoticon
 encode enscript epiphany erandom escreen esd estraier ethereal etwin evo exampl
es exif exim exiscan exiscan-acl expat extensions extraengine extraicons extramo
dules extras fam fame fastcgi fat fax fbcon fbdev fbsplash fep festival ffmpeg f
iglet filepro finger firebird firefox fits flac flash flatfile flood floppyboot
floppyd fluidsynth fmod font-server foomaticdb force-cgi-redirect fortran fpx fr
ascend freetts freetype ftp fwdzone gatos gb gcc-libffi gcj gcl gd gdbm general
geoip geometry geos ggi gif gimp gimpprint ginac gkrellm glade glep glgd glitz g
lut gmail gmailtimestamps gmp gmtfull gmthigh gmtsuppl gmttria gnokii gnome gnom
e-print gnomedb gnuplot gnustep gnutls gpgme gphoto2 gpm gps graphviz gs gsl gsm
 gsnd gssapi gstreamer gtk gtk2 gtkhtml guile gzip h323 hal haskell hbci hdf hdf
5 hesiod hfs hlapi howl hpn html http httpd hub icc icecast icon iconv icp icq i
cu id3 ide idea idl idled idn ieee1394 ifc iksemel image imagemagick imap imlib
immqt-bc inetd inifile inkjar innkeywords innodb inode input_devices_evdev input
_devices_keyboard input_devices_mouse iodbc ipalias ipcs ipv6 ipv6arpa irc irda
irixpasswd irmc isdnlog itcl j2ee jabber jack jack-tmpfs jai java javacomm javad
oc javamail javascript jbig jboss jce jcs jfs jimi jit jms jmx john joystick jp2
 jpeg jpeg2k jpty jta justify jython kakasi kcal kde kdeenablefinal kdepim kdexd
eltas kerberos kernel_linux keyscrub kig-scripting kipi kqemu krb4 ladcca ladspa
 lame lapack largeterminal latex lcd lcms ldap ldb libabcl libclamav libdsk libe
dit libg++ libgda libsamplerate libvisual libwww lids lighttpd lingerd lirc live
 lj lm_sensors lmtp logitech-mouse logrotate logwatch ltsp lua lynxkeymap lzo lz
w m17n-lib mad mail mailbox maildir maildrop mailwrapper make-symlinks mapeditor
 maps math matroska matrox mbox mbrola mcal mccp mcve md5sum mdb mecab mem-cache
 memlimit menubar messages mew mgetty mhash mikmod mime mimencode ming mjpeg mkc
onfig mmap mmx mmxext mng mnogosearch mod mod_irc mod_lisp mod_muc mod_pubsub mo
neyplex mono mopac7 motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 m
p4live mpeg mpeg2 mpeg4 mpi mplayer mpm-worker mppe-mppc mpqc msdav msession msl
u mssql mule multi-tty multicall multipleip multislot multitarget musepack mysql
 mysqli mythtv mzscheme nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh
 nas ncurses neXt net netbeans netboot netcdf network neural new-login nextaw nf
s nls nntp nocd nocman nodrm nolvmstatic normalizemime nowin nptl nptlonly nsplu
gin ntfs ntlm numarray numeric oav objc ocaml octave odbc ode offensive ofx ogdi
 ogg oggvorbis ogre old-crypt on-the-fly-crypt openal openbabel openexr opengl o
penntpd openssh openssl ortp osc oscache oscar ospfapi oss ovrimos pam pam_chroo
t pam_console pam_timestamp pango parse-clocks passfile password patented pbs pc
apnav pcre pda pdf pdfkit pdflib perl pfpro pg-hier pg-intdatetime pg-vacuumdela
y pheaders php physfs player plotutils plugin png pnp portaudio posix postfix po
stgres povray ppds pppd pregen prelude pri print priority procmail proj proxool
pvm pwdb pyste python qemu-fast qhull qmail qt qt3 qt4 quicktime quotes radius r
ar rdesktop real reflection reiserfs remix remote resperl rhino rhythmbox rogue
roundrobin rpc rplay rpm rrdtool rsh rss rtc ruby samba sample sasl savedconfig
sbcl sblive scanner screen sdk sdl semanticfix sendfile sendmail sensord serial
server servlet-2.3 servlet-2.4 session seti sftp sftplogging sguil sh shaper sha
red sharedext sheep shorten silc silverxp simplexml skey skk slang slp smartcard
 smime sms smtp smux sndfile snmp snortsam soap sockets socks5 softfax softmmu s
oftquota sounds soundtouch source sox spamassassin speech speedo speex spell spl
 sql sqlite sqlite3 srp sse sse-filters ssl startup-notification staticsocket st
ats stencil-buffer stream streamzap stroke struts subject-rewrite subp subtitles
 subversion svg svga svgz swarmcache symlink sysfs syslog sysvipc szip t1lib tcl
tk tcpd tcpmd5 tcsim tetex text tga theora threads thumbnail tidy tiff timidity
tlen tokenizer toolbar tools tos transcode translator transparent-proxy truetype
 truetype-fonts type1 type1-fonts ucs2 ucs4 udev udpfromto uim uml underscores u
nicode ups usb userland_GNU userlocales utf8 uudeview v4l v4l2 vcd vcdimager ver
bose vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips vi
deo_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_car
ds_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt vi
deo_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_re
ndition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_silico
nmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga vide
o_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_v
ga video_cards_via video_cards_vmware video_cards_voodoo videos vidix vim vim-pa
ger vim-with-x virtual virtual-users virus-scan visualization vlm vmdbmysql vmdb
postgres vnc voice vorbis vpopmail wddx web webdav webmin-minimal wifi win32code
cs winbind withsamplescripts wma123 wmf wordexp wxgtk1 wxwindows x11vnc x86 xani
m xatrix xattr xbase xchatdccserver xchattext xemacs xforms xfs xim xine xineram
a xinetd xlockrc xmail xml xml2 xmlrpc xmms xorg xosd xpm xprint xrandr xscreens
aver xsl xslt xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zero-penalty-hit zerocon
f zlib zvbi"
Back to top
View user's profile Send private message
MattBrown68
n00b
n00b


Joined: 24 Sep 2006
Posts: 5

PostPosted: Tue Sep 26, 2006 6:58 am    Post subject: Reply with quote

I've gotten a little bit farther, now that I know where the config.log is. The build is failing running configure before the actual build. When I move into the build_unix directory and run ../dist/configure, it succeeds. It doesn't seem to run the same way, however, since the command line parameters are not there.

The problem seems to be with the following line:

Code:

i386-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer  -D_GNU_SOURCE -D_REENTRANT  -Wl,--default-symver conftest.c  >&5


The error is:

Code:

/usr/lib/gcc/i386-pc-linux-gnu/3.4.6/../../../../i386-pc-linux-gnu/bin/ld: unrecognized option '--default-symver'


The config.log shows that the option is from the LDFLAGS flag:

Code:

LDFLAGS=' -Wl,--default-symver'



So the problem I'm having is finding out where LDFLAGS is set. I've checked in the portage work directory, in /etc/*, in subdirecories of each, and in the ebuild. I can't find it.

Anyone know where it is set?
Back to top
View user's profile Send private message
MattBrown68
n00b
n00b


Joined: 24 Sep 2006
Posts: 5

PostPosted: Wed Sep 27, 2006 12:42 am    Post subject: Reply with quote

Fixed it...

I don't know how I missed it, but I did. The LDFLAGS variable was set in the ebuild itself. I am using the userland_GNU use flag and with that use flag, the --default-symver parameter is added to LDFLAGS for use with ld. Unfortunately, the version of ld I was using was 2.15.92.xxx and that parameter was apparently introduced in 2.16.1. I had 2.16.1 installed, but it wasn't selected. I had to use binutils-config to select the correct version.

I didn't know about binutils-config before. I knew about gcc-config, but not binutils-config. I did an emerge --search binutils to see what version of binutils was installed and noticed it. I would love to know how I was supposed to know about that...

I hope this helps someone else.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722
Location: Cluj-Napoca, Romania

PostPosted: Wed Sep 27, 2006 3:19 pm    Post subject: Reply with quote

Glad to hear that... Didn't think of the binutils version (and I should have, especially since something similar bit me in the ass more than once)...
MattBrown68 wrote:
would love to know how I was supposed to know about that...
Good question. It's somewhat, er, underpublished, i.e. you need to know about it to know how to search for it, which is slightly circular.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum