Cannot Compile curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Kamal A. <kam...@ya...> - 2010-12-27 20:34:28
|
I have tried i=on ubuntu and Mac, but failing on both: Mac: 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 |