More compile problems

Loren Osborn linux_dr at
Wed Aug 28 01:31:20 EDT 2002

Ugh... more compile problems... and I'm tempted to blame gcc 3.1.1.  I
pasted the error below:

/usr/local/bin/gcc -o setup log.o install_log.o detect.o plugins.o
network.o install.o copy.o file.o loki_launchurl.o main.o console_ui.o
dialog_ui.o plugins/libplugins.a dialog/libdialog.a
plugins/libplugins.a dialog/libdialog.a
-L/usr/local/lib -L/usr/X11R6/lib /usr/local/lib/libxml.a  -lintl -lz
-lm  -lncurses -static
/usr/lib/libc.a(dcigettext.o): In function `_nl_find_msg':
/usr/src/RPM/BUILD/glibc-2.2.4/intl/dcigettext.c:662: multiple
definition of `_nl_find_msg'
/usr/lib/libintl.a(dcigettext.o)(.text+0x540): first defined here
/usr//bin/ld: Warning: size of symbol `_nl_find_msg' changed from 1289
to 1345 in dcigettext.o
collect2: ld returned 1 exit status
make: *** [setup] Error 1

As the thought of recompiling libc turned my stomach (I did that myself
back when libc6 first came out), I instead did some research, and found
that libintl.a is part of binutils:  So I went to recompile binutils...

gcc 3.1.1's linker decided to prohibit me from building binutils, since
"'mktemp' is dangerous":

/usr/local/bin/gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g
-O2 -o size size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a
/usr//bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr//bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr//bin/ld: Dwarf Error: Could not find abbrev number 117.
bucomm.o: In function `make_tempname':
bucomm.o(.text+0x422): the use of `mktemp' is dangerous, better use
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1

I don't exactly feel comfortable changing binutils just to install
loki-setup... Any ideas?

Thanks in advance,


More information about the Lokisetup mailing list