[EMAIL PROTECTED] wrote:
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


then why do i get 

%nm /lib/libc.so.6 | grep lstat 
000728c0 T __syscall_lstat
00088490 W pthread_setcancelstate

%nm /usr/lib/libc_nonshared.a | grep lstat
lstat.So:
00000000 T __lstat
00000000 W lstat

since lstat is not defined in libc.so.6 i am including the 
-lc_nonshared  option 

--seshu
[EMAIL PROTECTED]

____________________________________________________________
satya seshu kumar dammu|4087332589|[EMAIL PROTECTED]
             http://www.cslab.uky.edu/~ksdamm0

Dream BIG..... because dreams so small .......
                  hath no power to move men........


____________________________________________________________________
More than just email--Get your FREE Netscape WebMail account today at 
http://home.netscape.com/netcenter/mail

Reply via email to