[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glibc 2.2.1 compile problem
- To: Linux-IL Mailing List <linux-il(at-nospam)cs.huji.ac.il>
- Subject: glibc 2.2.1 compile problem
- From: Schlomo Schapiro <schapiro(at-nospam)clerk.pi.huji.ac.il>
- Date: Mon, 26 Feb 2001 17:40:39 +0200 (IST)
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi,
I am trying to compile glibc 2.2.1 and it fails with this:
------------------------8<-------------------------
In file included from ../include/bits/posix2_lim.h:1,
from ../include/limits.h:148,
from ../sysdeps/unix/sysv/linux/sys/param.h:22,
from memusagestat.c:33:
./posix/bits/posix2_lim.h:93: warning: `RE_DUP_MAX' redefined
/usr/include/posix2_lim.h:91: warning: this is the location of the
previous definition
rm -f /usr/src/packages/SOURCES/glibc-build/malloc/mtrace.new
sed -e 's|@PERL@|/usr/bin/perl|' -e 's|@XXX@|10|' \
-e 's|@VERSION@|2.2.1|' mtrace.pl >
/usr/src/packages/SOURCES/glibc-build/malloc/mtrace.new \
&& rm -f /usr/src/packages/SOURCES/glibc-build/malloc/mtrace && mv
/usr/src/packages/SOURCES/glibc-build/malloc/mtrace.new
/usr/src/packages/SOURCES/glibc-build/malloc/mtrace && chmod +x
/usr/src/packages/SOURCES/glibc-build/malloc/mtrace
gcc -o /usr/src/packages/SOURCES/glibc-build/malloc/memusagestat
/usr/src/packages/SOURCES/glibc-build/malloc/memusagestat.o -lgd -lpng
-lz -lm
/usr/src/packages/SOURCES/glibc-build/malloc/memusagestat.o: In function
`main':
/usr/src/packages/SOURCES/glibc-2.2.1/malloc/memusagestat.c:138: undefined
reference to `argp_parse'
/usr/src/packages/SOURCES/glibc-2.2.1/malloc/memusagestat.c:142: undefined
reference to `argp_help'
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/packages/SOURCES/glibc-build/malloc/memusagestat]
Error 1
make[2]: Leaving directory `/usr/src/packages/SOURCES/glibc-2.2.1/malloc'
make[1]: *** [malloc/others] Error 2
make[1]: Leaving directory `/usr/src/packages/SOURCES/glibc-2.2.1'
make: *** [all] Error 2
-------------------------------->8--------------------------------
Any ideas ?
Also, why would malloc need the GD library ???
Schlomo
--
Schlomo Schapiro
Computation Authority
Hebrew University of Jerusalem
Tel: ++972 / 2 / 65-84404
Fax: 65-27349
email: schapiro@clerk.pi.huji.ac.il
WWW: http://shum.cc.huji.ac.il/~schapiro
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il