Current-Users archive

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

Re: userland build failing on i386 (libm loop)




I noticed some updates to libm, updated src.

now build fails:

#      link  awk/awk
cc -O -D__EXTENSIONS__ -I/usr/src/../tools/include/compat 
-I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
-I/usr/src/tools/awk/../../external/historical/nawk/bin/../dist -I.   -o awk 
awkgram.lo b.lo lex.lo lib.lo main.lo parse.lo proctab.lo run.lo tran.lo 
-L/usr/src/../tools/lib -lnbcompat -lz -lm
/usr/lib/libm.so: undefined reference to `_scalbnfl'
/usr/lib/libm.so: undefined reference to `scalbnf'
/usr/lib/libm.so: undefined reference to `_scalbnf'


Looking at this issue I see


/usr/lib/
-r--r--r--  1 root  wheel  340850 Feb 11 17:19 libm.a
lrwxr-xr-x  1 root  wheel      22 Feb 11 17:19 libm.so -> ../../lib/libm.so.0.10
lrwxr-xr-x  1 root  wheel      22 Feb 11 17:19 libm.so.0 -> 
../../lib/libm.so.0.10
lrwxr-xr-x  1 root  wheel      22 Feb 11 17:19 libm.so.0.10 -> 
../../lib/libm.so.0.10


At the moment I don't understand why it is linking against libm /usr/lib/ -- 
shouldn't be building the new libm and linking against that one?
Also why is libm.so.* an infinite loop link.. I think this is causing my 
'unref' errors. Anyone have an idea about fixing this?

Thanks.



-- 
Waitman Gobble
San Jose California USA



Home | Main Index | Thread Index | Old Index