This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Failure]compiling glibc on MKlinux


Hi.
I tried to compile glibc-2.0.93 ,glibc-2.0.92 and libc-980510 on MKlinux(dr2.1
-update6-wip980421).
But all of them gave me error stop.

When geting error stop from libc-980510,I copied rose.h from glibc-2.0.93, and 
compileing, but I got the same error of glibc-2.0.92. 

What shall I do.

My system  is under that.
PM-6100/66
ecgs-1.0.3-prerelease and gcc-2.8.1
kernel-headers-2.1.24-980121.ppc.rpm 

Results are.

>>>>>>>>>>>>>>*glibc-2.0.93

make[1]: Entering directory `/wk-glibc/glibc-2.0.93/login'
make[1]: Nothing to be done for `subdir_lib'.
make[1]: Leaving directory `/wk-glibc/glibc-2.0.93/login'
make  -C elf subdir_lib
make[1]: Entering directory `/wk-glibc/glibc-2.0.93/elf'
cd .. && ar cruv libc_pic.aT `cat csu/stamp.os assert/stamp.os ctype/stamp.os 
db2/stamp.os locale/stamp.os intl/stamp.os catgets/stamp.os math/stamp.os setjmp
/stamp.os signal/stamp.os stdlib/stamp.os stdio-common/stamp.os libio/stamp.os 
malloc/stamp.os string/stamp.os wcsmbs/stamp.os time/stamp.os dirent/stamp.os 
grp/stamp.os pwd/stamp.os posix/stamp.os io/stamp.os termios/stamp.os resource
/stamp.os misc/stamp.os socket/stamp.os sysvipc/stamp.os gmon/stamp.os gnulib
/stamp.os iconv/stamp.os iconvdata/stamp.os wctype/stamp.os manual/stamp.os 
shadow/stamp.os md5-crypt/stamp.os po/stamp.os argp/stamp.os crypt/stamp.os 
linuxthreads/stamp.os nss/stamp.os localedata/stamp.os timezone/stamp.os rt/
stamp.os inet/stamp.os resolv/stamp.os hesiod/stamp.os sunrpc/stamp.os nis/stamp.os 
nscd/stamp.os streams/stamp.os login/stamp.os elf/stamp.os stamp.os`
ar: init-first.os: No such file or directory
make[1]: *** [../libc_pic.a] Error 1
make[1]: Leaving directory `/wk-glibc/glibc-2.0.93/elf'
make: *** [elf/subdir_lib] Error 2


>>>>>>>>>>>>>>*glibc-2.0.92

make[1]: Entering directory `/wk-glibc-old/glibc-2.0.92/ctype'
make[1]: Nothing to be done for `others'.
make[1]: Leaving directory `/wk-glibc-old/glibc-2.0.92/ctype'
make  -C db2 others
make[1]: Entering directory `/wk-glibc-old/glibc-2.0.92/db2'
gcc   -shared -o libdb.so  -Wl,-dynamic-linker=/lib/ld.so.1 -B../csu/  -Wl,-
soname=libdb.so.3   -L.. -L../math -L../elf -L../nss -L../nis -L. -Wl,-rpath-link
=..:../math:../elf:../nss:../nis:. -Wl,--whole-archive libdb_pic.a ../interp.os 
../libc.so -Wl,--no-whole-archive 
../csu/crtn.o: In function `dummy':
../csu/crtn.o(.text+0x0): multiple definition of `dummy'
../csu/crti.o(.text+0x0): first defined here
../csu/crtn.o: In function `_init':
../csu/crtn.o(.text+0x2c): multiple definition of `_init'
../csu/crti.o(.text+0x58): first defined here
../csu/crtn.o: In function `_fini':
../csu/crtn.o(.init+0x20): multiple definition of `_fini'
../csu/crti.o(.init+0x10): first defined here
collect2: ld returned 1 exit status
make[1]: *** [libdb.so] Error 1
make[1]: Leaving directory `/wk-glibc-old/glibc-2.0.92/db2'
make: *** [db2/others] Error 2



>>>>>>>>>>>>*libc-980510

make[1]: Leaving directory `/wk-glibc/libc-980510/misc'
make  -C socket subdir_lib
make[1]: Entering directory `/wk-glibc/libc-980510/socket'
gcc ../sysdeps/unix/sysv/linux/sa_len.c -c -O3 -Wall -Winline -Wno-parentheses 
-Wstrict-prototypes -Wwrite-strings     -I.  -I.. -I../include -I../libio  -
I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads
/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps
/unix -I../linuxthreads/sysdeps/powerpc -I../linuxthreads/sysdeps/pthread/cmpxchg 
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps
/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I..
/sysdeps/generic   -D_LIBC_REENTRANT -include ../include/libc-symbols.h     
-o sa_len.o
In file included from ../sysdeps/unix/sysv/linux/netrose/rose.h:23,
                 from ../sysdeps/unix/sysv/linux/bits/sockunion.h:29,
                 from sys/socket.h:37,
                 from ../sysdeps/unix/sysv/linux/sa_len.c:19:
/usr/include/linux/rose.h:10: warning: `PF_ROSE' redefined
../sysdeps/unix/sysv/linux/bits/socket.h:72: warning: this is the location of 
the previous definition
../sysdeps/unix/sysv/linux/sa_len.c: In function `__libc_sa_len':
../sysdeps/unix/sysv/linux/sa_len.c:42: `AF_ROSE' undeclared (first use this
 function)
../sysdeps/unix/sysv/linux/sa_len.c:42: (Each undeclared identifier is reported 
only once
../sysdeps/unix/sysv/linux/sa_len.c:42: for each function it appears in.)
make[1]: *** [sa_len.o] Error 1
make[1]: Leaving directory `/wk-glibc/libc-980510/socket'
make: *** [socket/subdir_lib] Error 2



Thanks ! 

Kaoru Fukui
k_fukui@highway.ne.jp

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]