cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error while compiling cURL.xs

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 14 Oct 2008 15:10:40 -0700

On Tue, Oct 14, 2008 at 04:27:05PM -0400, Nandakumar, Sriramkumar wrote:
> I am encountering the following error while installing OME Server.
>
> Errors loading module: /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap cURL.xs > cURL.xsc && mv cURL.xsc cURL.c
> gcc -c -I/home/kimlab/Desktop/OME/OME-2.6.1 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" cURL.c
> cURL.xs: In function ‘new’:
> cURL.xs:26: error: ‘CURLOPT_MUTE’ undeclared (first use in this function)

CURLOPT_MUTE was obsoleted seven years ago. OME Server needs to be fixed to
no longer use it. And it would be a good idea to try compiling it with
-DCURL_NO_OLDIES to see if there are any other definitions that it's using
which will be removed soon.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-15