satya seshu kumar dammu wrote:
> %gcc -g -shared -lc_nonshared -I/usr/include
> -I/usr/share/jdk1.1.6/include
> -I/usr/share/jdk1.1.6/include/genunix -L/lib -L/usr/lib
> -L/usr/share/jdk1.1.6/lib
> -L/usr/share/jdk1.1.6/lib/i686/green_threads hello.c
> -o libhello.so
>
> why is the libhello.so still having "lstat" as undefined (i mean U)
> even though i am providing "gcc" the -l/c_nonshared option
Why are you using -lc_nonshared? I'm not familliar
with that... lstat is surely defined in the standard c shared
library...
- Dan