Re: Cannot Compile curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2010-12-27 20:56:37
|
Hi, On Mon, Dec 27, 2010 at 10:34 PM, Kamal Ahmed <kam...@ya...>wrote: > I have tried i=on ubuntu and Mac, but failing on both: > > Mac: > Read the FAQs, this is for linux. > > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -O0 -g -I. -I./inc -I/usr//include -c -o obj/batch.o > batch.c > In file included from batch.c:23: > fdsetsize.h:27:24: error: bits/types.h: No such file or directory > make: *** [obj/batch.o] Error 1 > > > ubuntu: > > make optimize=1 debug=0 > gcc -W -Wall -Wpointer-arith -pipe -DCURL_LOADER_FD_SETSIZE=20000 > -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -ffast-math > -finline-functions -funroll-all-loops -finline-limit=1000 -mmmx -msse > -foptimize-sibling-calls -I. -I./inc -I/usr//include -c -o obj/parse_conf.o > parse_conf.c > parse_conf.c: In function ‘read_callback’: > parse_conf.c:3894: error: conflicting types for ‘pread’ > /usr/include/unistd.h:385: note: previous declaration of ‘pread’ was here > make: *** [obj/parse_conf.o] Error 1 > Some minor badness. Make it to compile and send here your patches. Thanks a lot. -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com Blog: http://dyslexia-blog.ghotit.com Twitter: http://twitter.com/ghotit Facebook: http://facebook.com/ghotit ...................................................................... Ghotit Dyslexia Assistive technology that understands you ...................................................................... |