[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with compile

From: Kyle McFarlane
Subject: Problem with compile
Date: Wed, 13 Jun 2001 21:33:11 +1200


I'm currently in the midst of installing a 'Linux From Scratch' system, and am trying to install sh-utils-2.0. Using the following instructions:

./configure --prefix=$LFS/usr --disable-nls
make LDFLAGS=-static

I get the following errors (after some correct compiling):

gcc -DLOCALEDIR=\"/home/lfs/usr/share/locale\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I../intl -g -O2 -c date.c
date.c: In function `set_tz':
date.c:196: warning: passing arg 1 of `putenv' discards `const' from pointer target type
gcc  -g -O2  -static -o date  date.o ../lib/libsu.a
/usr/lib/libc.a(mktime.o): In function `ydhms_tm_diff':
/tmp/glibc-2.1.3/time/mktime.c:138: multiple definition of `__mon_yday'
../lib/libsu.a(mktime.o):/home/lfs/usr/src/sh-utils-2.0/lib/mktime.c:119: first
defined here
/usr/lib/libc.a(mktime.o): In function `__mktime_internal':
/tmp/glibc-2.1.3/time/mktime.c:219: multiple definition of `__mktime_internal' ../lib/libsu.a(mktime.o):/home/lfs/usr/src/sh-utils-2.0/lib/mktime.c:219: first
defined here
/usr/i386-slackware-linux/bin/ld: Warning: size of symbol `__mktime_internal' changed from 1085 to 946 in mktime.o
collect2: ld returned 1 exit status
make[2]: *** [date] Error 1
make[2]: Leaving directory `/home/lfs/usr/src/sh-utils-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfs/usr/src/sh-utils-2.0'
make: *** [all-recursive-am] Error 2

Can you suggest anything I can do to correct this?


Kyle McFarlane
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]