joyent/node — Issue #1953: zlib fails to build with Makefile-gyp
Author: jbergstroem
Created: 2011-10-27 14:24:48+00:00
State: open

This is 173f91c7918f8c5f7c23ba3bfb2a56eb2e1b2814 on a 32-bit linux 3.1.0 w gcc 4.5.3.

Steps to reproduce:
- ./configure-gyp
- make -f Makefile-gyp V=1

g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_IA32' '-DNDEBUG' -I../deps/v8/src -Wall -pthread -m32 -ansi -fvisibility=hidden -m32 -m32 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fno-rtti -fno-exceptions -MMD -MF /home/jbergstroem/js/node/out/Release/.deps//home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/gen/libraries.o.d.raw -c -o /home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/gen/libraries.o /home/jbergstroem/js/node/out/Release/obj/gen/libraries.cc
g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_IA32' '-DNDEBUG' -I../deps/v8/src -Wall -pthread -m32 -ansi -fvisibility=hidden -m32 -m32 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fno-rtti -fno-exceptions -MMD -MF /home/jbergstroem/js/node/out/Release/.deps//home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/gen/experimental-libraries.o.d.raw -c -o /home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/gen/experimental-libraries.o /home/jbergstroem/js/node/out/Release/obj/gen/experimental-libraries.cc
g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_IA32' '-DNDEBUG' -I../deps/v8/src -Wall -pthread -m32 -ansi -fvisibility=hidden -m32 -m32 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fdata-sections -ffunction-sections -fomit-frame-pointer -O3 -fno-rtti -fno-exceptions -MMD -MF /home/jbergstroem/js/node/out/Release/.deps//home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/deps/v8/src/snapshot-empty.o.d.raw -c -o /home/jbergstroem/js/node/out/Release/obj.target/v8_nosnapshot/deps/v8/src/snapshot-empty.o ../deps/v8/src/snapshot-empty.cc
cc '-DNDEBUG' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m32 -ansi -fvisibility=hidden -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -MMD -MF /home/jbergstroem/js/node/out/Release/.deps//home/jbergstroem/js/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o.d.raw -c -o /home/jbergstroem/js/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o ../deps/zlib/contrib/minizip/unzip.c
../deps/zlib/contrib/minizip/unzip.c: In function ‘unzGetGlobalComment’:
../deps/zlib/contrib/minizip/unzip.c:1545:5: error: expected expression before ‘/’ token
make[1]: *** [/home/jbergstroem/js/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/jbergstroem/js/node/out'