Current-Users archive

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

Re: ____semctl50 not defined...



I started with a completely empty $DESTDIR and $OBJDIR. Did a 'build.sh release' and got the same error, but on some different utility!

#      link  amrctl/amrctl
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc  
-B/build/netbsd-local/dest/amd64/usr/lib/ 
-B/build/netbsd-local/dest/amd64/usr/lib/  -Wl,-nostdlib    
-Wl,--fatal-warnings     -o amrctl  amrctl.o       
-L/build/netbsd-local/dest/amd64/usr/lib   
-Wl,-dynamic-linker=/libexec/ld.elf_so 
-Wl,-rpath-link,/build/netbsd-local/dest/amd64/lib  -R/lib  
-L/build/netbsd-local/dest/amd64/lib 
-Wl,-rpath-link,/build/netbsd-local/dest/amd64/usr/lib  
-L/build/netbsd-local/dest/amd64/usr/lib
/build/netbsd-local/dest/amd64/usr/lib/libc.so: undefined reference to 
`____semctl50'
collect2: ld returned 1 exit status
*** [amrctl] Error code 1
1 error
nbmake: stopped in /build/netbsd-local/src/sbin/amrctl
*** [dependall] Error code 2


On Fri, 16 Jan 2009, Adam Hamsik wrote:


On Jan,Thursday 15 2009, at 5:38 PM, Kurt Schreiner wrote:

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


I cleaned OBJDIR and now build works fine for me. Check if you have these files in src
libc/sys/Makefile.in 1.198 and __semctl.c in the same directory.

Regards

Adam.


!DSPAM:496fc7651861481670843!



-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
|                  |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index