Current-Users archive

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

____semctl50 not defined...



Hi,

compiling -currend on amd64, starting w/ cleaned out obj
and tool dirs (source cvs updated at Jan 15 16:17 MET)
I run into the following:

    compile  bc/util.o
       link  bc/bc
/u/NetBSD/arch/amd64/dest/usr/lib/libc.so: undefined reference to `____semctl50'
collect2: ld returned 1 exit status

*** Failed target:  bc
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc 
-B/u/NetBSD/arch/amd64/dest/usr/lib/ -B/u/NetBSD/arch/amd64/dest/usr/lib/ 
-Wl,-nostdlib -o bc bc.o execute.o global.o load.o main.o number.o scan.o 
storage.o util.o -ll -ledit -ltermcap -L/u/NetBSD/arch/amd64/dest/usr/lib 
-Wl,-rpath-link,/u/NetBSD/arch/amd64/dest/lib -L/u/NetBSD/arch/amd64/dest/lib 
-Wl,-rpath-link,/u/NetBSD/arch/amd64/dest/usr/lib 
-L/u/NetBSD/arch/amd64/dest/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/gnu/usr.bin/bc

nm shows:

> nm /u/NetBSD/arch/amd64/obj/lib/libc/__semctl.o
                 U ____semctl50
0000000000000000 T __semctl50

> nm /u/NetBSD/arch/amd64/dest/lib/libc.so | grep semctl
00000000000356d0 T ______semctl50
                 U ____semctl50
0000000000064f70 T __semctl     
0000000000065560 T __semctl13
00000000000712f0 T __semctl50
0000000000065eb0 T semctl

Looks like there are tow "_"'s to much in the first line
of nm output from libc above?

Kurt


Home | Main Index | Thread Index | Old Index