Source-Changes archive

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

Re: CVS commit: src/lib/libc/sys



On Sun, Jan 27, 2008 at 04:18:22PM +0000, Martin Husemann wrote:
> 
> Module Name:  src
> Committed By: martin
> Date:         Sun Jan 27 16:18:22 UTC 2008
> 
> Modified Files:
>       src/lib/libc/sys: Makefile.inc
> Added Files:
>       src/lib/libc/sys: posix_fadvise.c
> 
> Log Message:
> libc part of posix_fadvise changes.
> The new compatibility stub is ABI compatible to the old syscall, so no
> need to bump libc minor.

Looks like this change is related to bc(1) not compiling.  I'm running
build.sh -u distribution.  It fails like so,

cuw:~/pristine-nbsd/src/gnu/usr.bin/bc> 
/u4/dyoung-scratch/scratch-pristine/T/bin/nbmake-i386 |& less
#      link  bc/bc
/u4/dyoung-scratch/scratch-pristine/T/bin/i386--netbsdelf-gcc -Wl,-nostdlib
   -o bc  -Wl,-rpath-link,/u4/dyoung-scratch/scratch-pristine/i386/D/lib:/u4/dyo
ung-scratch/scratch-pristine/i386/D/usr/lib  -L/u4/dyoung-scratch/scratch-pristi
ne/i386/D/lib  -B/u4/dyoung-scratch/scratch-pristine/i386/D/usr/lib/ -B/u4/dyoun
g-scratch/scratch-pristine/i386/D/usr/lib/   bc.o execute.o global.o load.o main
.o number.o scan.o storage.o util.o -ll -ledit -ltermcap       -L/u4/dyoung-scra
tch/scratch-pristine/i386/D/usr/lib -L/u4/dyoung-scratch/scratch-pristine/i386/D
/usr/lib
/u4/dyoung-scratch/scratch-pristine/i386/D/lib/libc.so: undefined reference to `
SYS_posix_fadvise'
collect2: ld returned 1 exit status

*** Failed target:  bc
*** Failed command: /u4/dyoung-scratch/scratch-pristine/T/bin/i386--netbsdelf-gc
c -Wl,-nostdlib -o bc -Wl,-rpath-link,/u4/dyoung-scratch/scratch-pristine/i386/D
/lib:/u4/dyoung-scratch/scratch-pristine/i386/D/usr/lib -L/u4/dyoung-scratch/scr
atch-pristine/i386/D/lib -B/u4/dyoung-scratch/scratch-pristine/i386/D/usr/lib/ -
B/u4/dyoung-scratch/scratch-pristine/i386/D/usr/lib/ bc.o execute.o global.o loa
d.o main.o number.o scan.o storage.o util.o -ll -ledit -ltermcap -L/u4/dyoung-sc
ratch/scratch-pristine/i386/D/usr/lib -L/u4/dyoung-scratch/scratch-pristine/i386
/D/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /u3/dyoung/pristine-nbsd/src/gnu/usr.bin/bc

I have run 'make obj ; make depend ; make clean ; make' in lib/libc/
to no avail.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24



Home | Main Index | Thread Index | Old Index