Page 1 of 1

Need help with Compiling

Posted: Mon Oct 25, 2004 10:46 pm
by Hurrycane
Heya Dudes i need some help with compiling .. i have always the same error
heres tha make output

Building src
make[1]: Entering directory `/home/unreal/Unreal3.2/src'
gcc -I../include -I/home/unreal/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DUSE_LIBCURL -export-dynamic -c url.c
url.c:32: parse error before `*'
url.c:32: warning: data definition has no type or storage class
url.c: In function `download_file':
url.c:167: `CURLOPT_WRITEDATA' undeclared (first use in this function)
url.c:167: (Each undeclared identifier is reported only once
url.c:167: for each function it appears in.)
url.c:171: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
url.c: In function `url_init':
url.c:214: warning: assignment makes pointer from integer without a cast
url.c: In function `download_file_async':
url.c:258: `CURLOPT_WRITEDATA' undeclared (first use in this function)
url.c:265: `CURLOPT_PRIVATE' undeclared (first use in this function)
url.c:269: `CURL_TIMECOND_IFMODSINCE' undeclared (first use in this function)
url.c:272: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
url.c: In function `url_do_transfers_async':
url.c:288: `CURLMsg' undeclared (first use in this function)
url.c:288: `msg' undeclared (first use in this function)
url.c:289: `CURLM_CALL_MULTI_PERFORM' undeclared (first use in this function)
url.c:321: `CURLMSG_DONE' undeclared (first use in this function)
url.c:328: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:329: `CURLINFO_PRIVATE' undeclared (first use in this function)
make[1]: *** [url.o] Error 1
make[1]: Leaving directory `/home/unreal/Unreal3.2/src'
make: *** [build] Error 2


gcc -v iss

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
unreal@213-146-167-230:~/Unreal3.2$

maybe u have an idea pls help me ... Thx and best regards

Posted: Mon Oct 25, 2004 11:15 pm
by katsklaw
I would suggest updating gcc ( http://gcc.gnu.org/ )

Current release series: GCC 3.4.2 (released 2004-09-06)

and trying again or use gmake if you have it installed.

Posted: Tue Oct 26, 2004 12:39 am
by Syzop
Since the compile error is due remote includes, did you read and follow the instructions of INSTALL.REMOTEINC? (if not, do so now)