bug-fileutils
[Top][All Lists]
Advanced

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

Statically-linked ls on Solaris?


From: Tim Cantin
Subject: Statically-linked ls on Solaris?
Date: Thu, 21 Dec 2000 09:56:30 -0500 (EST)

Greetings,

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
# 

What I am doing wrong, and/or what can I do to fix this?
TIA!
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]