[erlang-bugs] Build failes on PPC Leopard

Markus Flambard markus@REDACTED
Thu Feb 14 13:55:17 CET 2008


Hello,

I'm trying to compile Erlang/OTP R12B-1..

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.2
BuildVersion:	9C31

$ gcc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./configure
...
$ make
...
=== Entering application percept
make -f powerpc-apple-darwin9.2.0/Makefile TYPE=opt
/usr/bin/install -c -d ../priv/obj/powerpc-apple-darwin9.2.0
gcc -c -o ../priv/obj/powerpc-apple-darwin9.2.0/egd_port_driver.o -g
-O2 -I/Users/markus/src/otp_src_R12B-1/erts/powerpc-apple-darwin9.2.0
-no-cpp-precomp    -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -fPIC
-fno-common -DHAVE_CONFIG_H -O2
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/beam
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/sys/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include
-I/Users/markus/src/otp_src_R12B-1/erts/include/unix
-I/usr/local/include egd_port_driver.c
/usr/bin/install -c -d ../priv/obj/powerpc-apple-darwin9.2.0
gcc -c -o ../priv/obj/powerpc-apple-darwin9.2.0/egd_image.o -g -O2
-I/Users/markus/src/otp_src_R12B-1/erts/powerpc-apple-darwin9.2.0
-no-cpp-precomp    -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -fPIC
-fno-common -DHAVE_CONFIG_H -O2
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/beam
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/sys/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include
-I/Users/markus/src/otp_src_R12B-1/erts/include/unix
-I/usr/local/include egd_image.c
egd_image.c: In function 'image_font_size':
egd_image.c:197: warning: pointer targets in passing argument 2 of
'driver_output' differ in signedness
/usr/bin/install -c -d ../priv/obj/powerpc-apple-darwin9.2.0
gcc -c -o ../priv/obj/powerpc-apple-darwin9.2.0/egd_coding.o -g -O2
-I/Users/markus/src/otp_src_R12B-1/erts/powerpc-apple-darwin9.2.0
-no-cpp-precomp    -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -fPIC
-fno-common -DHAVE_CONFIG_H -O2
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/beam
-I/Users/markus/src/otp_src_R12B-1/erts/emulator/sys/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal
-I/Users/markus/src/otp_src_R12B-1/erts/include/internal/unix
-I/Users/markus/src/otp_src_R12B-1/erts/include
-I/Users/markus/src/otp_src_R12B-1/erts/include/unix
-I/usr/local/include egd_coding.c
/usr/bin/install -c -d ../priv/lib/powerpc-apple-darwin9.2.0
gcc /usr/local/lib -bundle -flat_namespace -undefined suppress -o
../priv/lib/powerpc-apple-darwin9.2.0/egd_drv.so
../priv/obj/powerpc-apple-darwin9.2.0/egd_port_driver.o
../priv/obj/powerpc-apple-darwin9.2.0/egd_image.o
../priv/obj/powerpc-apple-darwin9.2.0/egd_coding.o -lutil -ldl -lm
-L/usr/local/lib -lgd
ld: in /usr/local/lib, can't map file, errno=22
collect2: ld returned 1 exit status
make[4]: *** [../priv/lib/powerpc-apple-darwin9.2.0/egd_drv.so] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2

-- 
Markus Flambard
6A63 2761 0A9E E510 DDAF  C796 A3DF AB90 9C7C AD5C



More information about the erlang-bugs mailing list