Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 16:54:56 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   libtool/gmake problem
Message-ID:  <20020629165339.V82052-100000@odyssey.apana.org.au>

next in thread | raw e-mail | index | archive | help

Hi,

I'm running FreeBSD 4.6-STABLE (cvsupped two days ago) and now seem to be
having difficulty getting many ports to build. For example

(I've now tried to compile these on four machines, DX4-100, Celeron 766 &
800 and P-75 machines - all fail with the same errors)

/usr/ports/devel/libtool:

Script started on Sat Jun 29 11:12:33 2002
bash# make
===>  Extracting for libtool-1.3.4_4
>> Checksum OK for libtool-1.3.4.tar.gz.
===>  Patching for libtool-1.3.4_4
===>  Applying FreeBSD patches for libtool-1.3.4_4
===>  Configuring for libtool-1.3.4_4
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ranlib... ranlib
checking host system type... i386-portbld-freebsd4.6
checking build system type... i386-portbld-freebsd4.6
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating tests/Makefile
configuring in libltdl
running /bin/sh ./configure  --prefix=/usr/local i386-portbld-freebsd4.6 --enable-ltdl-install --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for working const... yes
checking for inline... inline
checking host system type... i386-portbld-freebsd4.6
checking build system type... i386-portbld-freebsd4.6
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache .././config.cache
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache .././config.cache
loading cache .././config.cache
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for objdir... .libs
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for malloc.h... no
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for dlfcn.h... yes
checking for dl.h... no
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for dlerror... yes
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h
===>  Building for libtool-1.3.4_4
Making all in .
CC="cc" CFLAGS="-O -pipe" CPPFLAGS=""  LD="/usr/libexec/elf/ld" LDFLAGS="" LIBS=""  LN_S="ln -s" NM="/usr/bin/nm -B" RANLIB="ranlib"  DLLTOOL="" OBJDUMP="" AS=""  /bin/sh ./ltconfig --cache-file=./config.cache --with-gcc --with-gnu-ld --enable-dlopen --srcdir=.  --output=libtool ./ltmain.sh
loading cache ./config.cache within ltconfig
checking host system type... i386-unknown-freebsdelf4.6
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsdelf4.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... (cached) no
checking for dlopen... (cached) yes
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
CONFIG_FILES=libtoolize CONFIG_HEADERS= ./config.status
creating libtoolize
chmod +x libtoolize
Making all in libltdl
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -c ltdl.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.lo
ltdl.c: In function `sys_dl_open':
ltdl.c:266: warning: assignment makes pointer from integer without a cast
ltdl.c:269: warning: assignment makes pointer from integer without a cast
ltdl.c: In function `sys_dl_close':
ltdl.c:284: warning: assignment makes pointer from integer without a cast
ltdl.c: In function `sys_dl_sym':
ltdl.c:298: warning: initialization makes pointer from integer without a cast
ltdl.c:302: warning: assignment makes pointer from integer without a cast
ltdl.c: In function `find_file':
ltdl.c:1055: warning: assignment makes pointer from integer without a cast
ltdl.c:1085: `FILE' undeclared (first use in this function)
ltdl.c:1085: (Each undeclared identifier is reported only once
ltdl.c:1085: for each function it appears in.)
ltdl.c:1085: `file' undeclared (first use in this function)
ltdl.c: In function `trim':
ltdl.c:1139: warning: initialization makes pointer from integer without a cast
ltdl.c: In function `lt_dlopen':
ltdl.c:1207: warning: assignment makes pointer from integer without a cast
ltdl.c:1220: warning: assignment makes pointer from integer without a cast
ltdl.c:1223: `FILE' undeclared (first use in this function)
ltdl.c:1223: `file' undeclared (first use in this function)
ltdl.c:1224: syntax error before `int'
ltdl.c:1243: `i' undeclared (first use in this function)
ltdl.c:1255: syntax error before `)'
ltdl.c:1259: syntax error before `)'
ltdl.c:1264: syntax error before `)'
ltdl.c:1276: `line' undeclared (first use in this function)
ltdl.c:1292: `error' undeclared (first use in this function)
ltdl.c:1292: `dlname' undeclared (first use in this function)
ltdl.c:1299: `old_name' undeclared (first use in this function)
ltdl.c:1306: `libdir' undeclared (first use in this function)
ltdl.c:1313: `deplibs' undeclared (first use in this function)
ltdl.c:1317: `installed' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/devel/libtool/work/libtool-1.3.4/libltdl.
*** Error code 1

Stop in /usr/ports/devel/libtool/work/libtool-1.3.4.
*** Error code 1

Stop in /usr/ports/devel/libtool.


And even /usr/ports/devel/gmake:

===>  Extracting for gmake-3.79.1_2
>> Checksum OK for make-3.79.1.tar.gz.
===>  Patching for gmake-3.79.1_2
===>  Applying FreeBSD patches for gmake-3.79.1_2
===>  Configuring for gmake-3.79.1_2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i386-portbld-freebsd4.6
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  -L/usr/local/lib) works...
yes
checking whether the C compiler (cc -O -pipe  -L/usr/local/lib) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for perl... perl
checking build system type... i386-portbld-freebsd4.6
checking for getconf... getconf
checking for CFLAGS value to request large file support... no
checking for LDFLAGS value to request large file support... no
checking for LIBS value to request large file support... no
checking for _FILE_OFFSET_BITS... no
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for stdlib.h... yes
checking for unistd.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for fcntl.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking whether cc understands -c and -o together... yes
checking for cc option to accept ANSI C... none needed
checking for working const... yes
checking for inline... inline
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether NLS is wanted... yes
checking whether to use included gettext... yes
checking for getcwd... yes
checking for setlocale... yes
checking for stpcpy... no
test: yes: unexpected operator
checking which translations to install... de es fr ja ko nl pl pt_BR ru
checking for nanoseconds member of struct stat.st_mtim... no
checking for inttypes.h... no
checking for unsigned long long... yes
checking for library containing clock_gettime... none required
checking for standard gettimeofday... yes
checking for memmove... yes
checking for memcpy... yes
checking for strchr... yes
checking for strdup... yes
checking for psignal... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for dup2... yes
checking for getcwd... (cached) yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for setlinebuf... yes
checking for seteuid... yes
checking for setegid... yes
checking for setreuid... yes
checking for setregid... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for sys_siglist... yes
checking for working alloca.h... no
checking for alloca... yes
checking for vfork.h... no
checking for working vfork... yes
checking for vprintf... yes
checking for working strcoll... yes
checking whether closedir returns void... no
checking whether setvbuf arguments are reversed... no
checking for kstat_open in -lkstat... no
checking for pstat_getdynamic... no
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... yes
checking for getloadavg in -lutil... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... kmem
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for library containing getpwnam... none required
checking for location of SCCS get command... get
checking if system libc has GNU glob... no; using local copy
updating cache ./config.cache
creating ./config.status
creating build.sh
creating Makefile
creating glob/Makefile
creating i18n/Makefile
creating config.h
===>  Building for gmake-3.79.1_2
make  all-recursive
Making all in glob
cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -DHAVE_LOCALE_H
-DHAVE_LC_MESSAGES  -O -pipe -c glob.c
glob.c: In function `glob_in_dir':
glob.c:1319: `DIR' undeclared (first use in this function)
glob.c:1319: (Each undeclared identifier is reported only once
glob.c:1319: for each function it appears in.)
glob.c:1319: syntax error before `)'
glob.c:1322: dereferencing pointer to incomplete type
glob.c:1333: dereferencing pointer to incomplete type
glob.c:1339: dereferencing pointer to incomplete type
glob.c:1404: syntax error before `)'
glob.c:1416: syntax error before `)'
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/www/squidpurge.


Does anyone have any suggestions?

Thanks in advance.

Regards,

d.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020629165339.V82052-100000>