bug-fileutils
[Top][All Lists]
Advanced

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

Re: Statically-linked ls on Solaris?


From: Tim Cantin
Subject: Re: Statically-linked ls on Solaris?
Date: Thu, 21 Dec 2000 10:19:34 -0500 (EST)

Nevermind - I posted too soon! I found the reference to the following web page:

        http://www.science.uva.nl/pub/solaris/solaris2/Q6.24.html

Sorry!

> I'm trying to build a statically-linked ls on Solaris 2.6, and I am getting
> this linker error:
> 
> # gcc -O2  -o ls  ls.o ls-ls.o ../lib/libfu.a -lgen -static
> Undefined                       first referenced
>  symbol                             in file
> dlclose                             /usr/lib/libc.a(nss_deffinder.o)
> dlsym                               /usr/lib/libc.a(nss_deffinder.o)
> dlopen                              /usr/lib/libc.a(nss_deffinder.o)
> ld: fatal: Symbol referencing errors. No output written to ls
> # 

T

---
Tim Cantin, <address@hidden>, Manager, Systems & Networks
Wellesley College, Information Services, Systems & Networks
211 Simpson Hall East, 106 Central St., Wellesley, Massachusetts 02481-8203
http://www.wellesley.edu/~tcantin  phone: (781)283-3520  fax: (781)283-3682




reply via email to

[Prev in Thread] Current Thread [Next in Thread]