build of physfs 1.0.1 failed (dependency of Lincity-NG)
Sven Wolf
sven.wolf at fusion-zone.net
Thu Nov 22 00:55:56 PST 2007
Hi *,
today I tried to install Lincity-NG. But the build of physfs 1.0.1
failed on my Mac Mini (1.83 GHz, 1 GB ram, Leopard 10.5.1). Before I
started the build I've executed: "sudo port selfupdate". Here is the
errorlog of the physfs 1.0.1 build:
---> Fetching physfs
---> physfs-1.0.1.tar.gz doesn't seem to exist in
/opt/local/var/macports/distfiles/physfs
---> Attempting to fetch physfs-1.0.1.tar.gz from
http://icculus.org/physfs/downloads/
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 527k 100 527k 0 0 33062 0 0:00:16 0:00:16 --:--:--
93428
---> Verifying checksum(s) for physfs
---> Checksumming physfs-1.0.1.tar.gz
---> Extracting physfs
---> Extracting physfs-1.0.1.tar.gz
---> Configuring physfs
checking build system type... i386-apple-darwin9.1.0
checking host system type... i386-apple-darwin9.1.0
checking target system type... i386-apple-darwin9.1.0
checking for a BSD-compatible install... /usr/bin/install -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 for gcc... gcc
checking for C compiler default output file name... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/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 how to recognise dependent libraries... file_magic Mach-O
dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
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/libexec/gcc/i686-apple-darwin9/4.0.1/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... darwin9.1.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for sed... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking what zlib to use... external zlib
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for readline in -lreadline... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for add_history in -lreadline... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/ucred.h usability... yes
checking sys/ucred.h presence... yes
checking for sys/ucred.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking if language choice is supported... yes
checking if this is BeOS... no
checking if this is Cygwin... no
checking if this is mingw... no
checking if this is MacOS X... yes
checking if this is FreeBSD... no
checking if this is OpenBSD... no
checking if this is AtheOS... no
checking if this is OS/2... no
checking if this is MiNT... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for working memcmp... yes
checking for memset... yes
checking for strrchr... yes
checking for int... yes
checking size of int... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating archivers/Makefile
config.status: creating platform/Makefile
config.status: creating zlib123/Makefile
config.status: creating test/Makefile
config.status: creating extras/Makefile
config.status: creating physfs.spec
config.status: creating config.h
config.status: executing depfiles commands
---> Building physfs with target all
make all-recursive
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT physfs.lo
-MD -MP -MF ".deps/physfs.Tpo" -c -o physfs.lo physfs.c; \
then mv -f ".deps/physfs.Tpo" ".deps/physfs.Plo"; else rm -f
".deps/physfs.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT physfs.lo -MD -MP -MF .deps/physfs.Tpo
-c physfs.c -fno-common -DPIC -o .libs/physfs.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT physfs.lo -MD -MP -MF .deps/physfs.Tpo
-c physfs.c -o physfs.o >/dev/null 2>&1
mv -f .libs/physfs.lo physfs.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT
physfs_byteorder.lo -MD -MP -MF ".deps/physfs_byteorder.Tpo" -c -o
physfs_byteorder.lo physfs_byteorder.c; \
then mv -f ".deps/physfs_byteorder.Tpo" ".deps/physfs_byteorder.Plo";
else rm -f ".deps/physfs_byteorder.Tpo"; exit 1; fi
rm -f .libs/physfs_byteorder.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT physfs_byteorder.lo -MD -MP -MF
.deps/physfs_byteorder.Tpo -c physfs_byteorder.c -fno-common -DPIC -o
.libs/physfs_byteorder.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT physfs_byteorder.lo -MD -MP -MF
.deps/physfs_byteorder.Tpo -c physfs_byteorder.c -o physfs_byteorder.o
>/dev/null 2>&1
mv -f .libs/physfs_byteorder.lo physfs_byteorder.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT dir.lo -MD
-MP -MF ".deps/dir.Tpo" -c -o dir.lo `test -f 'archivers/dir.c' || echo
'./'`archivers/dir.c; \
then mv -f ".deps/dir.Tpo" ".deps/dir.Plo"; else rm -f ".deps/dir.Tpo";
exit 1; fi
rm -f .libs/dir.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT dir.lo -MD -MP -MF .deps/dir.Tpo -c
archivers/dir.c -fno-common -DPIC -o .libs/dir.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT dir.lo -MD -MP -MF .deps/dir.Tpo -c
archivers/dir.c -o dir.o >/dev/null 2>&1
mv -f .libs/dir.lo dir.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT grp.lo -MD
-MP -MF ".deps/grp.Tpo" -c -o grp.lo `test -f 'archivers/grp.c' || echo
'./'`archivers/grp.c; \
then mv -f ".deps/grp.Tpo" ".deps/grp.Plo"; else rm -f ".deps/grp.Tpo";
exit 1; fi
rm -f .libs/grp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT grp.lo -MD -MP -MF .deps/grp.Tpo -c
archivers/grp.c -fno-common -DPIC -o .libs/grp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT grp.lo -MD -MP -MF .deps/grp.Tpo -c
archivers/grp.c -o grp.o >/dev/null 2>&1
mv -f .libs/grp.lo grp.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT wad.lo -MD
-MP -MF ".deps/wad.Tpo" -c -o wad.lo `test -f 'archivers/wad.c' || echo
'./'`archivers/wad.c; \
then mv -f ".deps/wad.Tpo" ".deps/wad.Plo"; else rm -f ".deps/wad.Tpo";
exit 1; fi
rm -f .libs/wad.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT wad.lo -MD -MP -MF .deps/wad.Tpo -c
archivers/wad.c -fno-common -DPIC -o .libs/wad.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT wad.lo -MD -MP -MF .deps/wad.Tpo -c
archivers/wad.c -o wad.o >/dev/null 2>&1
mv -f .libs/wad.lo wad.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT hog.lo -MD
-MP -MF ".deps/hog.Tpo" -c -o hog.lo `test -f 'archivers/hog.c' || echo
'./'`archivers/hog.c; \
then mv -f ".deps/hog.Tpo" ".deps/hog.Plo"; else rm -f ".deps/hog.Tpo";
exit 1; fi
rm -f .libs/hog.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT hog.lo -MD -MP -MF .deps/hog.Tpo -c
archivers/hog.c -fno-common -DPIC -o .libs/hog.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT hog.lo -MD -MP -MF .deps/hog.Tpo -c
archivers/hog.c -o hog.o >/dev/null 2>&1
mv -f .libs/hog.lo hog.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT mvl.lo -MD
-MP -MF ".deps/mvl.Tpo" -c -o mvl.lo `test -f 'archivers/mvl.c' || echo
'./'`archivers/mvl.c; \
then mv -f ".deps/mvl.Tpo" ".deps/mvl.Plo"; else rm -f ".deps/mvl.Tpo";
exit 1; fi
rm -f .libs/mvl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT mvl.lo -MD -MP -MF .deps/mvl.Tpo -c
archivers/mvl.c -fno-common -DPIC -o .libs/mvl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT mvl.lo -MD -MP -MF .deps/mvl.Tpo -c
archivers/mvl.c -o mvl.o >/dev/null 2>&1
mv -f .libs/mvl.lo mvl.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT zip.lo -MD
-MP -MF ".deps/zip.Tpo" -c -o zip.lo `test -f 'archivers/zip.c' || echo
'./'`archivers/zip.c; \
then mv -f ".deps/zip.Tpo" ".deps/zip.Plo"; else rm -f ".deps/zip.Tpo";
exit 1; fi
rm -f .libs/zip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT zip.lo -MD -MP -MF .deps/zip.Tpo -c
archivers/zip.c -fno-common -DPIC -o .libs/zip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT zip.lo -MD -MP -MF .deps/zip.Tpo -c
archivers/zip.c -o zip.o >/dev/null 2>&1
mv -f .libs/zip.lo zip.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT qpak.lo
-MD -MP -MF ".deps/qpak.Tpo" -c -o qpak.lo `test -f 'archivers/qpak.c'
|| echo './'`archivers/qpak.c; \
then mv -f ".deps/qpak.Tpo" ".deps/qpak.Plo"; else rm -f
".deps/qpak.Tpo"; exit 1; fi
rm -f .libs/qpak.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT qpak.lo -MD -MP -MF .deps/qpak.Tpo -c
archivers/qpak.c -fno-common -DPIC -o .libs/qpak.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT qpak.lo -MD -MP -MF .deps/qpak.Tpo -c
archivers/qpak.c -o qpak.o >/dev/null 2>&1
mv -f .libs/qpak.lo qpak.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT unix.lo
-MD -MP -MF ".deps/unix.Tpo" -c -o unix.lo `test -f 'platform/unix.c' ||
echo './'`platform/unix.c; \
then mv -f ".deps/unix.Tpo" ".deps/unix.Plo"; else rm -f
".deps/unix.Tpo"; exit 1; fi
rm -f .libs/unix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c
platform/unix.c -fno-common -DPIC -o .libs/unix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c
platform/unix.c -o unix.o >/dev/null 2>&1
mv -f .libs/unix.lo unix.lo
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/opt/local/include -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -MT posix.lo
-MD -MP -MF ".deps/posix.Tpo" -c -o posix.lo `test -f 'platform/posix.c'
|| echo './'`platform/posix.c; \
then mv -f ".deps/posix.Tpo" ".deps/posix.Plo"; else rm -f
".deps/posix.Tpo"; exit 1; fi
rm -f .libs/posix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c
platform/posix.c -fno-common -DPIC -o .libs/posix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c
platform/posix.c -o posix.o >/dev/null 2>&1
mv -f .libs/posix.lo posix.lo
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o libphysfs.la -rpath /opt/local/lib -release 1.0
-version-info 1:0:0 physfs.lo physfs_byteorder.lo dir.lo grp.lo wad.lo
hog.lo mvl.lo zip.lo qpak.lo unix.lo posix.lo -lz
rm -fr .libs/libphysfs.la .libs/libphysfs.* .libs/libphysfs-1.0.*
gcc -r -keep_private_externs -nostdlib -o
.libs/libphysfs-1.0.1.0.0.dylib-master.o physfs.lo physfs_byteorder.lo
dir.lo grp.lo wad.lo hog.lo mvl.lo zip.lo qpak.lo unix.lo posix.lo &&
gcc -dynamiclib -o .libs/libphysfs-1.0.1.0.0.dylib
.libs/libphysfs-1.0.1.0.0.dylib-master.o -L/opt/local/lib -lz -lc
-framework Carbon -framework IOKit -install_name
/opt/local/lib/libphysfs-1.0.1.dylib -compatibility_version 2
-current_version 2.0
(cd .libs && rm -f libphysfs-1.0.1.dylib && ln -s
libphysfs-1.0.1.0.0.dylib libphysfs-1.0.1.dylib)
(cd .libs && rm -f libphysfs.dylib && ln -s libphysfs-1.0.1.0.0.dylib
libphysfs.dylib)
ar cru .libs/libphysfs.a physfs.o physfs_byteorder.o dir.o grp.o wad.o
hog.o mvl.o zip.o qpak.o unix.o posix.o
ranlib .libs/libphysfs.a
creating libphysfs.la
(cd .libs && rm -f libphysfs.la && ln -s ../libphysfs.la libphysfs.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT test_physfs.o -MD -MP -MF
".deps/test_physfs.Tpo" -c -o test_physfs.o `test -f
'test/test_physfs.c' || echo './'`test/test_physfs.c; \
then mv -f ".deps/test_physfs.Tpo" ".deps/test_physfs.Po"; else rm -f
".deps/test_physfs.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o test_physfs test_physfs.o ./libphysfs.la -lz
gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -Wl,-framework -Wl,Carbon
-Wl,-framework -Wl,IOKit -o .libs/test_physfs test_physfs.o
-L/opt/local/lib -L./.libs -lphysfs -lz
Undefined symbols:
"_readline", referenced from:
_main in test_physfs.o
"_add_history", referenced from:
_main in test_physfs.o
_main in test_physfs.o
_main in test_physfs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [test_physfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_physfs/work/physfs-1.0.1"
&& make all " returned error 2
Command output: then mv -f ".deps/posix.Tpo" ".deps/posix.Plo"; else rm
-f ".deps/posix.Tpo"; exit 1; fi
rm -f .libs/posix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c
platform/posix.c -fno-common -DPIC -o .libs/posix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c
platform/posix.c -o posix.o >/dev/null 2>&1
mv -f .libs/posix.lo posix.lo
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o libphysfs.la -rpath /opt/local/lib -release 1.0
-version-info 1:0:0 physfs.lo physfs_byteorder.lo dir.lo grp.lo wad.lo
hog.lo mvl.lo zip.lo qpak.lo unix.lo posix.lo -lz
rm -fr .libs/libphysfs.la .libs/libphysfs.* .libs/libphysfs-1.0.*
gcc -r -keep_private_externs -nostdlib -o
.libs/libphysfs-1.0.1.0.0.dylib-master.o physfs.lo physfs_byteorder.lo
dir.lo grp.lo wad.lo hog.lo mvl.lo zip.lo qpak.lo unix.lo posix.lo &&
gcc -dynamiclib -o .libs/libphysfs-1.0.1.0.0.dylib
.libs/libphysfs-1.0.1.0.0.dylib-master.o -L/opt/local/lib -lz -lc
-framework Carbon -framework IOKit -install_name
/opt/local/lib/libphysfs-1.0.1.dylib -compatibility_version 2
-current_version 2.0
(cd .libs && rm -f libphysfs-1.0.1.dylib && ln -s
libphysfs-1.0.1.0.0.dylib libphysfs-1.0.1.dylib)
(cd .libs && rm -f libphysfs.dylib && ln -s libphysfs-1.0.1.0.0.dylib
libphysfs.dylib)
ar cru .libs/libphysfs.a physfs.o physfs_byteorder.o dir.o grp.o wad.o
hog.o mvl.o zip.o qpak.o unix.o posix.o
ranlib .libs/libphysfs.a
creating libphysfs.la
(cd .libs && rm -f libphysfs.la && ln -s ../libphysfs.la libphysfs.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -O2 -O2
-D_REENTRANT -D_THREAD_SAFE -MT test_physfs.o -MD -MP -MF
".deps/test_physfs.Tpo" -c -o test_physfs.o `test -f
'test/test_physfs.c' || echo './'`test/test_physfs.c; \
then mv -f ".deps/test_physfs.Tpo" ".deps/test_physfs.Po"; else rm -f
".deps/test_physfs.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o test_physfs test_physfs.o ./libphysfs.la -lz
gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -Wl,-framework -Wl,Carbon
-Wl,-framework -Wl,IOKit -o .libs/test_physfs test_physfs.o
-L/opt/local/lib -L./.libs -lphysfs -lz
Undefined symbols:
"_readline", referenced from:
_main in test_physfs.o
"_add_history", referenced from:
_main in test_physfs.o
_main in test_physfs.o
_main in test_physfs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [test_physfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for physfs):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: The following dependencies failed to build: physfs
Error: Status 1 encountered during processing.
macmini:~ sven$ sudo port -v install lincity-ng
Password:
---> Building physfs with target all
make all-recursive
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o test_physfs test_physfs.o ./libphysfs.la -lz
gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -Wl,-framework -Wl,Carbon
-Wl,-framework -Wl,IOKit -o .libs/test_physfs test_physfs.o
-L/opt/local/lib -L./.libs -lphysfs -lz
Undefined symbols:
"_readline", referenced from:
_main in test_physfs.o
"_add_history", referenced from:
_main in test_physfs.o
_main in test_physfs.o
_main in test_physfs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [test_physfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_physfs/work/physfs-1.0.1"
&& make all " returned error 2
Command output: make all-recursive
/bin/sh ./libtool --mode=link gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE
-L/opt/local/lib -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,IOKit
-no-undefined -o test_physfs test_physfs.o ./libphysfs.la -lz
gcc -O2 -O2 -D_REENTRANT -D_THREAD_SAFE -Wl,-framework -Wl,Carbon
-Wl,-framework -Wl,IOKit -o .libs/test_physfs test_physfs.o
-L/opt/local/lib -L./.libs -lphysfs -lz
Undefined symbols:
"_readline", referenced from:
_main in test_physfs.o
"_add_history", referenced from:
_main in test_physfs.o
_main in test_physfs.o
_main in test_physfs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [test_physfs] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for physfs):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: The following dependencies failed to build: physfs
Error: Status 1 encountered during processing.
---
Maybe someone has an idea, how this fix this error.
Thanks and best regards,
Sven
More information about the macports-users
mailing list