Game Development Community

Linux make problem

by Nick Carnevalino · in Torque Game Engine · 04/20/2002 (10:25 am) · 24 replies

useing redhat 7.2 with gcc 2.97 ... after setting up my os build and compiler options i ran make .. it goes for a little while then runs in this

Creating library out.GCC2.DEBUG/lpng_DEBUG.a
--> Compiling zlib/compress.c
make[1]: *** [out.GCC2.DEBUG/zlib/compress.obj] Aborted
make: *** [default] Error 2

and ideas? .. i'm awful at figuring out gcc make errors.

almost forgot .. this is the head as of this morning ( april 20th about 2am )
Page«First 1 2 Next»
#21
04/21/2002 (11:28 am)
started fresh agin .. cleaned out the tmp dir and ran with -v after gcc

www.lucindrea.com/debug2.txt

looks like adler32 calls compress and compress is the problem
#22
04/21/2002 (11:54 am)
ok i got it ( well i got it to do somthing ) ... looks like the make file is a bit screwey .... i went into the lib dir and tried to manualy compile a few things .. aldler32 failed so did compress ... i figured i would try every c file in the zlib dir ( their is only like 8 ) starting with zutil and working backwards ... well when i got to compress it compiled .. so did adler32 ... so it looks like the order in the make is wrong because somthing i compiled in the zlib was needed to compile the aldler32 ...

i went back to the torq dir and ran make .. it's in the core dir now ( doing dataChunker.cc ) and seems to be churning allong... if this compiles ok i'll wipe that dir and try each c file in zlib dir one at a time in a fresh head and see what order it needs to be so the next guy doesnt have to go through this :-)


acctully this brings up a question ... if i fix the make file ( i found it while this is still compileing ... it's /lib/targets.zlib.mk ) is their a way i can submit it so it makes it's way to the cvs?
#23
04/21/2002 (12:50 pm)
compiles fine .. just gives me a Segmentation fault when i try to run , even as dedacated
#24
04/21/2002 (1:33 pm)
Ah, well a segmentation fault is something we can work with. :) Please use the procedure described
here for reporting information about it.

Edit: fixed link.
Page«First 1 2 Next»