cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl 7.10.4 compiles, DG-UX ./configure cd . problem

From: Rich Gray <Rich.Gray_at_PlusTechnologies.com>
Date: Tue, 29 Apr 2003 12:22:37 -0400

Hi Curl people,

Some of our systems were still running a patched curl 6.5.2, so
updating them all was long overdue. I got all twelve of our
Unix platforms to compile, despite that fact that some of them
are very ancient. A summary of all platforms is below, followed
by some detail on systems where there were glitches, FYI. On a
couple, the test stuff did not build. All I need is curl itself,
so I'm happy. I went on a very long wild goose chase on our DG-UX
system (the oldest, slowest, out of disk system.) Finally figured
out that instead of ./configure, I had to invoke configure as
/absolutepathtocurl-7.10.4/configure! Very strange.

All all builds were run --disable-shared. Running strip on the
resulting binaries produced significant, if not HUGE reductions
in size on various platforms. Several platforms compiled a 1.5ish
meg curl which strip took down to a few hundred k. Couldn't find a
configure switch for stripping, despite the fact that configure
seemed to look for it. I just did it manually, no big deal. Does
seem like a --strip would be in order, defaulted to do so.
--disable-strip would provide current behavior. (IIRC, on the
systems I'm familiar with, the -s linker switch means strip, even
if there is not a strip program.)

On the subject of configure switches, I dug around for quite
a while before re-discovering the list of switches is in
configure, displayed with -h/--help. Might I suggest adding
mention of that at the top of docs/INSTALL so that builders
can review the entire list before proceding.

Lastly, am I doing this the hard way? I compiled on each system
by copying over the tar file, extracting it, configure & make.
Could I put the sources on a shared file system then on each
target system, cd to an empty directory and
/pathtosharedcurldir/configure --disable-shared? Does it
automatically figure out --srcdir? I never "install" curl,
just do the make and grab src/curl.

Cheers!
Rich

Richard B. Gray, Sr. Software Egr.| Tel: +1 937-746-8118 ext. 2405
Plus Technologies, a division of | 877-899-PLUS (7587)
Digital Controls Corporation | Fax: +1 937-743-8575
305 South Pioneer Blvd. | mailto:richg_at_plustechnologies.com
Springboro OH 45066-1100, USA | http://www.plustechnologies.com

All with ./configure --disable-shared (except DG!)

i386-pc-solaris2.7 :-)

sparc-sun-solaris2.4 :-)

sparc-sun-solaris2.8 :-)

powerpc-ibm-aix4.3.2.0 :-) libtest trouble

rs6000-ibm-aix3.2.5 :-/ Had to add sys/select.h to multi.h
                             as previously discussed on this list.

i486-ncr-sysv4.3.03 :-) (MP-RAS) missing strcasecmp in sws.o

alpha-dec-osf3.2 :-)

hppa1.1-hp-hpux9.05 :-)

i686-pc-linux-gnu :-) (Red Hat 6.2)

i686-pc-sco3.2v5.0.5 :-) striped from 1481188 to 268360

m88k-dg-dgux5.4R3.00 :-/ ./configure cd . failure

============ m88k-dg-dgux5.4R3.00
===========================================

configure: error: sources are in ., but `cd .' does not work

This test was done in the root filesystem (/curl-7.10.4).
Ultimately, I had to go back to an NFS mounted directory
because I did not have enough space for the build.

added debug code to configure:
...
(
pwd
cd $srcdir
echo "cd $srcdir result is $?"
pwd
test -r ./$ac_unique_file
echo "test -r ./$ac_unique_file returns $?"
)
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not
work
" >&2
   { (exit 1); exit 1; }; }
...

dgux> ls
CHANGES SSLCERTS configure.ac lib sample.emacs
COPYING acinclude.m4 curl-config.in ltmain.sh src
Makefile aclocal.m4 curl-style.el maketgz testcurl.sh
Makefile.am build_vms.com depcomp missing tests
Makefile.dist config.guess docs mkinstalldirs
Makefile.in config.sub include packages
README configure install-sh reconf
dgux> ./configure
/curl-7.10.4
cd . result is 0
/curl-7.10.4
test -r ./lib/urldata.h returns 0
configure: error: sources are in ., but `cd .' does not work
dgux> ls -l ./lib/urldata.h
-rw-r--r-- 1 root other 29762 Mar 31 00:13 ./lib/urldata.h
dgux>

After much chasing of red herrings, I finally figured out that
I had to invoke configure with an absolute path! :-/ (I started out
trying to do the build on an NSF mounted file system due to limited
space, so was put in a mind of file system trouble and spent quite
a bit of time before realizing it wasn't. I still don't understand
what was wrong...) Note that I did not have this problem with 6.5.2
and in fact went back and successfully re-ran that configure as a
sanity check.

BTW, I could not vi configure on this system due to the length of
line 475, ac_subst_vars='<*LOTS* OF STUFF>'. Had to break it on
another system to be able to edit it on the DG-UX box.

checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /usr/bin/sed
checking for a BSD-compatible install...
/usr/toms/rich/curl/dg/curl-7.10.4/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking curl version... 7.10.4
checking build system type... m88k-dg-dgux5.4R3.00
checking host system type... m88k-dg-dgux5.4R3.00
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for AIX... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... UX:sed: ERROR: Line too
long
UX:sed: ERROR: Line too long
/usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking command to parse /usr/bin/nm -B output... failed
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... :
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... dgux5.4R3.00 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support gopher... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to enable ipv6... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for connect... yes
checking for dlclose... no
checking for dlopen in -ldl... yes
checking whether to use libgcc... no
checking non-blocking sockets style... O_NONBLOCK
checking for "/dev/urandom"... no
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking for pkg-config... no
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
checking for RAND_status... no
checking for RAND_screen... no
checking for RAND_egd... no
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking AIX 4.3 or later... no
checking for gethostbyname_r... no
checking for gethostbyaddr_r... no
checking for inet_ntoa_r... no
checking for localtime_r... no
checking for gmtime_r... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/select.h... no
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... (cached) yes
checking for alloca.h... yes
checking for winsock.h... no
checking for time.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ssize_t... yes
checking for socklen_t... no
checking for socklen_t equivalent... int
checking for in_addr_t... no
checking for in_addr_t equivalent... int
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for socket... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for strtok_r... no
checking deeper for strtok_r... but still no
checking for strftime... yes
checking for uname... yes
checking for strcasecmp... (cached) yes
checking for stricmp... no
checking deeper for stricmp... but still no
checking for strcmpi... no
checking deeper for strcmpi... but still no
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for tcsetattr... yes
checking for tcgetattr... yes
checking for perror... yes
checking for closesocket... no
checking deeper for closesocket... but still no
checking for setvbuf... yes
checking for sigaction... yes
checking for signal... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for strlcat... no
checking deeper for strlcat... but still no
checking for getpwuid... yes
checking for geteuid... yes
checking for dlopen... yes
checking for utime... yes
checking for sigsetjmp... yes
checking for poll... yes
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... no
checking CA cert bundle install path...
/usr/local/share/curl/curl-ca-bundle.crt
checking for bison... no
checking for byacc... no
checking whether to enable debug options... no
configure: creating ./config.status
[snip]

============ powerpc-ibm-aix4.3.2.0 ================================

Making all in libtest
        source='lib505.c' object='lib505.o' libtool=no
depfile='.deps/lib505.Po
' tmpdepfile='.deps/lib505.TPo' depmode=aix /bin/sh ../../depcomp cc
-DHAVE_CO
NFIG_H -I../../include/curl -I../../lib -g -c `test -f 'lib505.c' ||
echo '
./'`lib505.c
"/usr/include/unistd.h", line 167.17: 1506-343 (S) Redeclaration of lseek64
diff
ers from previous declaration on line 165 of "/usr/include/unistd.h".

Hmmm...

64: #ifdef _POSIX_SOURCE
65: #ifdef _LARGE_FILES
66: #define lseek lseek64
67: #endif
...
165: extern off_t lseek(int, off_t, int);
166: #ifdef _LARGE_FILE_API
167: extern off64_t lseek64(int, off64_t, int);
168: #endif

"/usr/include/unistd.h", line 167.17: 1506-050 (I) Return type "long long"
in re
declaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 167.17: 1506-377 (I) The type "long long" of
param
eter 2 differs from the previous type "long".
"/usr/include/sys/lockf.h", line 64.20: 1506-343 (S) Redeclaration of
lockf64 di
ffers from previous declaration on line 62 of "/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long long" of
par
ameter 3 differs from the previous type "long".

from line 55:
#ifdef _LARGE_FILES
#define lockf lockf64
#endif

#ifdef _NO_PROTO
extern int lockf();
#else
        extern int lockf (int, int, off_t);
#ifdef _LARGE_FILE_API
        extern int lockf64 (int, int, off64_t);
#endif /* _LARGE_FILE_API */

#endif /* _NO_PROTO */

"/usr/include/unistd.h", line 574.33: 1506-343 (S) Redeclaration of
ftruncate64
differs from previous declaration on line 572 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 574.33: 1506-377 (I) The type "long long" of
param
eter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 599.33: 1506-343 (S) Redeclaration of
truncate64 d
iffers from previous declaration on line 597 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 599.33: 1506-377 (I) The type "long long" of
param
eter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 616.33: 1506-343 (S) Redeclaration of pread64
diff
ers from previous declaration on line 613 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 616.33: 1506-377 (I) The type "long long" of
param
eter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 617.33: 1506-343 (S) Redeclaration of pwrite64
dif
fers from previous declaration on line 614 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 617.33: 1506-377 (I) The type "long long" of
param
eter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 665.25: 1506-343 (S) Redeclaration of fclear64
dif
fers from previous declaration on line 662 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 665.25: 1506-050 (I) Return type "long long"
in re
declaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 665.25: 1506-377 (I) The type "long long" of
param
eter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 666.25: 1506-343 (S) Redeclaration of
fsync_range6
4 differs from previous declaration on line 663 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 666.25: 1506-377 (I) The type "long long" of
param
eter 3 differs from the previous type "long".
make: 1254-004 The error code from the last command is 1.

================= rs6000-ibm-aix3.2.5 ==============================

Had to add #include <sys/select.h> to include/curl/multi.h as noted in
"Re: Build problems on AIX with fd_set (maybe net/if.h too)?" thread
(March 2003.) In http://curl.haxx.se/mail/archive-2003-03/0021.html
Daniel wrote: <<
> Thanks a lot. I've added the missing <sys/types.h> include now to that
file
> in CVS.

I trust you meant sys/select.h...

>You didn't need to add that include to any other file in lib/ ?

No other fixes.

Prior to the fix:

Making all in lib
        make all-am
        source='file.c' object='file.lo' libtool=yes \
                depfile='.deps/file.Plo' tmpdepfile='.deps/file.TPlo' \
                depmode=aix /bin/ksh ../depcomp \
                /bin/ksh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-I../inc
lude -I../lib -I../lib -g -c -o file.lo `test -f 'file.c' || echo
'./'`file.c
cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -c -M file.c -o file.o
"../include/curl/multi.h", line 127.28: 1506-046 (S) Syntax error.
"./urldata.h", line 313.3: 1506-046 (S) Syntax error.
The error code from the last failed command is 1.

Make Quitting.

./configure --disable-shared output:

checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /usr/bin/sed
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking curl version... 7.10.4
checking build system type... rs6000-ibm-aix3.2.5
checking host system type... rs6000-ibm-aix3.2.5
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... aix
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) aix
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking command to parse /usr/bin/nm -B output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... none
checking if cc static flag -bnso -bI:/lib/syscalls.exp works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... aix3.2.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support gopher... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to enable ipv6... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for connect... yes
checking for dlclose... no
checking for dlopen in -ldl... no
checking whether to use libgcc... no
checking non-blocking sockets style... nada
configure: WARNING: non-block sockets disabled
checking for "/dev/urandom"... no
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking for pkg-config... no
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
checking for RAND_status... no
checking for RAND_screen... no
checking for RAND_egd... no
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking AIX 4.3 or later... no
checking for gethostbyname_r... no
checking for gethostbyaddr_r... no
checking for inet_ntoa_r... no
checking for localtime_r... no
checking for gmtime_r... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... (cached) no
checking for alloca.h... no
checking for winsock.h... no
checking for time.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ssize_t... yes
checking for socklen_t... no
checking for socklen_t equivalent... int
checking for in_addr_t... no
checking for in_addr_t equivalent... int
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... size_t,void *,struct timeval *
checking return type of signal handlers... void
checking for socket... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for strtok_r... no
checking deeper for strtok_r... but still no
checking for strftime... yes
checking for uname... yes
checking for strcasecmp... (cached) yes
checking for stricmp... no
checking deeper for stricmp... but still no
checking for strcmpi... no
checking deeper for strcmpi... but still no
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for tcsetattr... yes
checking for tcgetattr... yes
checking for perror... yes
checking for closesocket... no
checking deeper for closesocket... but still no
checking for setvbuf... yes
checking for sigaction... yes
checking for signal... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for strlcat... no
checking deeper for strlcat... but still no
checking for getpwuid... yes
checking for geteuid... yes
checking for dlopen... no
checking deeper for dlopen... but still no
checking for utime... yes
checking for sigsetjmp... yes
checking for poll... yes
checking for perl... no
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking CA cert bundle install path...
/usr/local/share/curl/curl-ca-bundle.crt
checking for bison... no
checking for byacc... no
checking whether to enable debug options... no
configure: creating ./config.status
config.status: creating Makefile
[SNIP]

================= i486-ncr-sysv4.3.03
=============================================

Making all in server
        make all-am
        source='sws.c' object='sws.o' libtool=no \
        depfile='.deps/sws.Po' tmpdepfile='.deps/sws.TPo' \
        depmode=none /bin/ksh ../../depcomp \
        cc -DHAVE_CONFIG_H -I. -I. -I../../lib -I../../src -I. -I../../lib
-g -c `test -f 'sws.c' || echo './'`sws.c
NCR High Performance C Compiler R3.0c
        source='getpart.c' object='getpart.o' libtool=no \
        depfile='.deps/getpart.Po' tmpdepfile='.deps/getpart.TPo' \
        depmode=none /bin/ksh ../../depcomp \
        cc -DHAVE_CONFIG_H -I. -I. -I../../lib -I../../src -I. -I../../lib
-g -c `test -f 'getpart.c' || echo './'`getpart.c
NCR High Performance C Compiler R3.0c
        /bin/ksh ../../libtool --mode=link cc -g -o sws sws.o getpart.o
-l
nsl -lsocket
mkdir .libs
cc -g -o sws sws.o getpart.o -lnsl -lsocket
Undefined first referenced
 symbol in file
strncasecmp sws.o
UX:ld: ERROR: sws: fatal error: Symbol referencing errors. No output written
to
sws
*** Error code 1 (bu21)

checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /usr/bin/sed
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking curl version... 7.10.4
checking build system type... i486-ncr-sysv4.3.03
checking host system type... i486-ncr-sysv4.3.03
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -p output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... :
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... sysv4.3.03 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support gopher... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to enable ipv6... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lsocket... no
checking trying both nsl and socket libs... yes
checking for strcasecmp... no
checking for strcasecmp in -lresolve... no
checking for strcasecmp in -lresolve... (cached) no
checking for connect... yes
checking for dlclose... yes
checking whether to use libgcc... no
checking non-blocking sockets style... O_NONBLOCK
checking for "/dev/urandom"... no
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking for pkg-config... no
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
checking for RAND_status... no
checking for RAND_screen... no
checking for RAND_egd... no
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking AIX 4.3 or later... no
checking for gethostbyname_r... no
checking for gethostbyaddr_r... no
checking for inet_ntoa_r... no
checking for localtime_r... yes
checking whether localtime_r is declared... yes
checking for gmtime_r... yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... (cached) yes
checking for alloca.h... yes
checking for winsock.h... no
checking for time.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... yes
checking for sys/poll.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ssize_t... yes
checking for socklen_t... no
checking for socklen_t equivalent... int
checking for in_addr_t... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for socket... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for strtok_r... yes
checking for strftime... yes
checking for uname... yes
checking for strcasecmp... (cached) no
checking deeper for strcasecmp... but still no
checking for stricmp... no
checking deeper for stricmp... but still no
checking for strcmpi... no
checking deeper for strcmpi... but still no
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for tcsetattr... yes
checking for tcgetattr... yes
checking for perror... yes
checking for closesocket... no
checking deeper for closesocket... but still no
checking for setvbuf... yes
checking for sigaction... yes
checking for signal... yes
checking for getpass_r... yes
checking for strlcat... no
checking deeper for strlcat... but still no
checking for getpwuid... yes
checking for geteuid... yes
checking for dlopen... yes
checking for utime... yes
checking for sigsetjmp... yes
checking for poll... yes
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... no
checking CA cert bundle install path...
/usr/local/share/curl/curl-ca-bundle.crt
checking for bison... no
checking for byacc... no
checking whether to enable debug options... no
configure: creating ./config.status
[snip]

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-29