Board index DeFRaG Competitions DFWC 2014

Compile iodfe for 32bit [solved]

The Defrag World Cup in 2014

Compile iodfe for 32bit [solved]

Postby ZyaX » Nov 2nd, '14, 9:24 pm

Well, thanks for the heads up with 32-bit binaries for iodfe, only a day in advance. Can you help me with setting up that? There is no configure file for it, so I guess I have to edit the Makefile...
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: DFWC2014 general discussion

Postby <hk> » Nov 2nd, '14, 10:52 pm

Are you on linux?
Code: Select all
make ARCH=i386
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: DFWC2014 general discussion

Postby ZyaX » Nov 2nd, '14, 11:29 pm

Yes, I'm on linux. That command results in the following.

Code: Select all
REF_CC code/jpeg-8c/jquant1.c
REF_CC code/jpeg-8c/jquant2.c
REF_CC code/jpeg-8c/jutils.c
REF_CC code/sdl/sdl_glimp.c
LD build/release-linux-i386/iodfengine.i386
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../libcurl.so when searching for -lcurl
/usr/bin/ld: skipping incompatible /usr/lib/libcurl.so when searching for -lcurl
/usr/bin/ld: cannot find -lcurl
collect2: error: ld returned 1 exit status
Makefile:1765: recipe for target 'build/release-linux-i386/iodfengine.i386' failed
make[2]: *** [build/release-linux-i386/iodfengine.i386] Error 1
make[2]: Leaving directory '/home/lycopene/iodfe'
Makefile:1124: recipe for target 'targets' failed
make[1]: *** [targets] Error 2
make[1]: Leaving directory '/home/lycopene/iodfe'
Makefile:1117: recipe for target 'release' failed
make: *** [release] Error 2


I guess it's looking for 32-bit curl or?
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: DFWC2014 general discussion

Postby Newbrict » Nov 3rd, '14, 4:53 am

yeah you prob. need all the dependencies in 32 bit as well...
User avatar
Newbrict
 
Posts: 81
Joined: Sep 21st, '11, 12:12 am

Re: DFWC2014 general discussion

Postby ZyaX » Nov 3rd, '14, 9:40 am

Newbrict wrote:yeah you prob. need all the dependencies in 32 bit as well...


I got a package called lib32-curl and iodfe compiled successfully. I tried uploading a demo and it passed. Thanks guys.
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm


cron