[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undefined symbols in diffutils-2.8.2 on Solaris 5.5.1
From: |
Vin Shelton |
Subject: |
Undefined symbols in diffutils-2.8.2 on Solaris 5.5.1 |
Date: |
Tue, 11 Jun 2002 14:24:16 -0400 |
I downloaded diffutils-2.8.2 and attempted to build it on my Solaris
5.5.1 system. I got the following undefined symbols:
gcc -DHAVE_CONFIG_H -I. -I../../../../src/diffutils-2.8.2/src -I.. -I../lib
-I../../../../src/diffutils-2.8.2/lib -g -O2 -c `test -f
'../../../../src/diffutils-2.8.2/src/util.c' || echo
'../../../../src/diffutils-2.8.2/src/'`../../../../src/diffutils-2.8.2/src/util.c
gcc -g -O2 -o diff analyze.o context.o diff.o dir.o ed.o ifdef.o io.o
normal.o side.o util.o version.o ../lib/libdiffutils.a -lposix4
Undefined first referenced
symbol in file
wctype ../lib/libdiffutils.a(fnmatch.o)
btowc ../lib/libdiffutils.a(fnmatch.o)
iswctype ../lib/libdiffutils.a(fnmatch.o)
ld: fatal: Symbol referencing errors. No output written to diff
collect2: ld returned 1 exit status
make[2]: *** [diff] Error 1
make[2]: Leaving directory
`/u/shelton2/software/build/SunOS-5.5/diffutils-2.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/u/shelton2/software/build/SunOS-5.5/diffutils-2.8.2'
make: *** [all] Error 2
Here is the configutaion info from config.status:
GNU diffutils config.status 2.8.2
configured by ../../../src/diffutils-2.8.2/configure, generated by GNU Autoconf
2.53,
with options \"'--prefix=/u/shelton2/software/SunOS-5.5' '--disable-nls'
'CC=gcc'\"
Adding the library '-lw' to the link line resolves wctype and
iswctype, but I can not find btowc in the system libraries. There is
a function, mbtowc, in libc, however.
Regards,
Vin Shelton
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL: http://www.cs.amherst.edu/~ccm/prufrock.html]