Package: ocurl Version: 0.2.0-2 Severity: normal Tags: patch When building 'ocurl' on amd64/unstable with gcc-4.0, I get the following error:
x86_64-linux-gcc -c -DHAVE_CONFIG_H -I/usr/lib/ocaml/3.08.3 curl-helper.c -o curl-helper.o ocamlmklib -oc curl-helper curl-helper.o \ -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz /usr/bin/ld: curl-helper.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC curl-helper.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [dllcurl-helper.so] Error 2 make[2]: Leaving directory `/ocurl-0.2.0' With the attached patch 'ocurl' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/ocurl-0.2.0/Makefile.in ./Makefile.in --- ../tmp-orig/ocurl-0.2.0/Makefile.in 2005-01-23 16:23:16.000000000 +0100 +++ ./Makefile.in 2005-04-02 07:41:11.695715149 +0200 @@ -20,7 +20,7 @@ FLAGS = LIBS = -CFLAGS = @CFLAGS@ @DEFS@ +CFLAGS = @CFLAGS@ @DEFS@ -fPIC CAMLINCDIR = [EMAIL PROTECTED]@ CURLHELPEROBJS = curl-helper.o -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]