On Mon, 17 May 1999, Dave Baukus wrote:
> Philip is right again,
> I did not have libc.so. I had libc-2.1.so an libc.so.6; after adding
> another symlink I can build shared libraries.
>
> But, wouldn't ya know, now any program that uses stat() and friends
> fails to compile w/
>
> /tmp/cce1Dcuw.o: In function `main':
> /tmp/cce1Dcuw.o(.text+0x24): undefined reference to `stat'
> collect2: ld returned 1 exit status
The file libc.so is *not* a symlink. It is small text file which simply
contains:
group(libc-nonshared.a, libc.so.6)
This means: some of the functions in glibc can't be built in a shared
object file so they're excluded in libc-nonshared.a. This file libc.so
tells ld to use both libs. libc-nonshared.a-object files are compiled with
-fPIC, too, so there's no problem.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]