[Top][All Lists]

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

diffutils-2.7.4 Build Bugs on Sparc SunOS

From: Vin Shelton
Subject: diffutils-2.7.4 Build Bugs on Sparc SunOS
Date: 06 Dec 2001 10:14:46 -0500

Under SunOS-5.5, when I attempt to build diffutils-2.7.4 with the
'--disable-nls' configuration option, I can not link the resulting
executables.  Here's the result:

gcc  -g -O2   -o cmp  cmp.o version.o ../lib/libdiffutils.a  
Undefined                       first referenced
 symbol                             in file
bindtextdomain                      cmp.o
gettext                             cmp.o
textdomain                          cmp.o
ld: fatal: Symbol referencing errors. No output written to cmp

I can build without '--disable-nls' with no problem.

Under SunOS-4.1, I can not compile diffutils-2.7.4 because the type
ssize_t cannot be found:

: diffutils-2.7.4/src Thu 6 9:59; make
source='../../../../src/diffutils-2.7.4/src/cmp.c' object='cmp.o' libtool=no \
depfile='.deps/cmp.Po' tmpdepfile='.deps/cmp.TPo' \
depmode=gcc /u/shelton/new/SunOS-4.1/bin/ksh 
../../../../src/diffutils-2.7.4/depcomp \
gcc -DLOCALEDIR=\"/u/shelton/new/SunOS-4.1/share/locale\" -DHAVE_CONFIG_H -I. 
-I../../../../src/diffutils-2.7.4/src -I.. -I.. 
-I../../../../src/diffutils-2.7.4/src -I../lib 
-I../../../../src/diffutils-2.7.4/lib -I../intl 
-I../../../../src/diffutils-2.7.4/intl    -g -O2 -c `test -f 
../../../../src/diffutils-2.7.4/src/cmp.c || echo 
../../../../src/diffutils-2.7.4/src/cmp.c: In function `cmp':
../../../../src/diffutils-2.7.4/src/cmp.c:363: `ssize_t' undeclared (first use 
in this function)
../../../../src/diffutils-2.7.4/src/cmp.c:363: (Each undeclared identifier is 
reported only once
../../../../src/diffutils-2.7.4/src/cmp.c:363: for each function it appears in.)
../../../../src/diffutils-2.7.4/src/cmp.c:363: parse error before `r'
../../../../src/diffutils-2.7.4/src/cmp.c:364: `r' undeclared (first use in 
this function)
make: *** [cmp.o] Error 1

Hope this helps.

  vin shelton

reply via email to

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