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, <[EMAIL PROTECTED]>, 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
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils