Help - Search - Members - Calendar
Full Version: Help compiling oggenc-aotuV (from rarewares)
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
Major_Kong
I'm trying to compile oggenc-aotuv_1.0.1+aotuv-5 ( http://xmixahlx.dyndns.org/debian/source/ ). But i keep geting this error:

QUOTE

http_transport.c: In function 'set_curl_opts':
http_transport.c:116: error: 'CURLOPT_MUTE' undeclared (first use in this function)
http_transport.c:116: error: (Each undeclared identifier is reported only once
http_transport.c:116: error: for each function it appears in.)
make[2]: *** [http_transport.o] Error 1
make[2]: Leaving directory `/home/*****/workspace/debs/oggenc-aotuv/oggenc-aotuv-1.0.1+aotuv/ogg123'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/******/workspace/debs/oggenc-aotuv/oggenc- aotuv-1.0.1+aotuv'
make: *** [build-arch-stamp] Error 2


I can't figure out the problem. Could someone give me a little help ?
Seiitsu
QUOTE(Major_Kong @ Jan 19 2008, 20:02) *

I'm trying to compile oggenc-aotuv_1.0.1+aotuv-5 ( http://xmixahlx.dyndns.org/debian/source/ ). But i keep geting this error:

QUOTE

http_transport.c: In function 'set_curl_opts':
http_transport.c:116: error: 'CURLOPT_MUTE' undeclared (first use in this function)
http_transport.c:116: error: (Each undeclared identifier is reported only once
http_transport.c:116: error: for each function it appears in.)
make[2]: *** [http_transport.o] Error 1
make[2]: Leaving directory `/home/*****/workspace/debs/oggenc-aotuv/oggenc-aotuv-1.0.1+aotuv/ogg123'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/******/workspace/debs/oggenc-aotuv/oggenc- aotuv-1.0.1+aotuv'
make: *** [build-arch-stamp] Error 2


I can't figure out the problem. Could someone give me a little help ?

I think that is a problem with libcurl. Try downloading and installing the latest version of libcurl if you don't have it already, and if you do have it already make sure it's installed correctly.
Fandango
You probably only have "libcurl" (compiled libraries) installed, but you also need "libcurl-dev" (headers and object files).

PS: Don't download the entire libcurl source from the cURL homepage, but instead "libcurl-dev" from your Debian repository with dpkg!
Seiitsu
QUOTE(Fandango @ Jan 19 2008, 20:33) *

You probably only have "libcurl" (compiled libraries) installed, but you also need "libcurl-dev" (headers and object files).

PS: Don't download the entire libcurl source from the cURL homepage, but instead "libcurl-dev" from your Debian repository with dpkg!

Oh yeah, forgot to think about that, that's probably it.
Major_Kong
QUOTE(Fandango @ Jan 19 2008, 19:33) *

You probably only have "libcurl" (compiled libraries) installed, but you also need "libcurl-dev" (headers and object files).

PS: Don't download the entire libcurl source from the cURL homepage, but instead "libcurl-dev" from your Debian repository with dpkg!


Libcurl-dev is now a dummy package for libcurl3-openssl-dev in debian. In ubuntu 7.10 (which i'm using) it's for libcurl4-openssl-dev...

Not sure what to make of it... any major change that would prevent retrocompatibility ?
Fandango
QUOTE(Major_Kong @ Jan 20 2008, 00:44) *

Not sure what to make of it...
Install (the dummy package, it's ok that way, the correct package will be chosen for you, be it in Debian or Ubuntu). I doubt there will be any problems with oggenc, because of the cURL lib's version.

QUOTE(Major_Kong @ Jan 20 2008, 00:44) *
any major change that would prevent retrocompatibility ?
Try and you will see. Run "configure" and "make" in oggenc's directory after installing the curl headers, if there is a problem the script will tell you about it. You might be missing more development packages, read the configure script's output for this information. biggrin.gif
Major_Kong
QUOTE
Install (the dummy package, it's ok that way, the correct package will be chosen for you, be it in Debian or Ubuntu). I doubt there will be any problems with oggenc, because of the cURL lib's version.


It was already installed. smile.gif

I get these warnings running configure (but it's unrelated)
configure: WARNING: FLAC and OggFLAC libraries or headers missing, oggenc
will NOT be built with FLAC read support.
configure: WARNING: FLAC and OggFLAC libraries or headers missing, ogg123
will NOT be built with FLAC read support.

And i still get the same problem CURLOPT_MUTE undeclared, when running make.
Fandango
After checking the curl headers, I realised that there's really no such thing in there.

Using google then I found the answer:
bug report: https://trac.xiph.org/ticket/1097
bug fix: https://trac.xiph.org/changeset/12202
tongue.gif
Major_Kong
Thx, that did the trick.

Just a heads up, there's another problem when compiling, the headers in ogg123/speex_format.c need a correction from:

(...)
#include <speex.h>
#include <speex_header.h>
#include <speex_stereo.h>
#include <speex_callbacks.h>
(...)

to:

(...)
#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
(...)


And it won't compile with flac support.

The package compiled for Ubuntu 7.10 64bit if anyone else is interested:
http://rapidshare.com/files/85217758/oggen..._amd64.deb.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.