Hi, Alexander and other fellow developers.
Sorry for the late reply, but I had problems with real life (having
quite some problems with my health and also trying to get back to my
studies on Algebraic structures):
On Aug 20 2007, Alexander Leidinger wrote:
> If you don't specify the fileio option for configure, it compiles just
> fine?
Yes, I can compile just fine. There is some problem with the way that
the configure script tells the compiler to glue libsndfile, which is a
pity, because it is more flexible than the default fileio shipped with
lame.
Again, just for reference, here is the output that I get when I am using
--with-fileio=sndlame:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gcc -DHAVE_CONFIG_H -I. -I.. -I -I../include -I. -I../libmp3lame -I.. -O3 -ffast-math -funroll-loops -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -fPIC -DPIC -o .libs/interface.o
interface.c:14:18: error: lame.h: No such file or directory
In file included from ../libmp3lame/machine.h:25,
from interface.c:15:
../libmp3lame/version.h:54: error: expected ')' before '*' token
In file included from interface.c:16:
../libmp3lame/VbrTag.h:73: error: expected ')' before '*' token
../libmp3lame/VbrTag.h:74: error: expected ')' before 'const'
../libmp3lame/VbrTag.h:75: error: expected ')' before 'const'
../libmp3lame/VbrTag.h:77: error: expected ')' before '*' token
make[2]: *** [interface.lo] Error 1
make[2]: Leaving directory `/home/rbrito/src/sf/lame/mpglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rbrito/src/sf/lame'
make: *** [all] Error 2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Notice that the problem is caused by the file lame.h not being found,
which is in <include/lame.h>. Obviously, VbrTag.h doesn't have any
syntax problems (as far as I can see in a quick glance).
Just as a simple test, changing the include #include "lame.h" to
#include "include/lame.h" makes it compile some more files and then end
with the same problem a few files later.
(I reverted these changes back now, as I want to have something as close
to the repository as possible while debuggin things)
I just thought that -I../include would be sufficient.
But I finally figured out the problem: it's the "empty" -I option to
gcc: if I manually change I don't have the Makefile, the things in the
mpglib directory all get compiled without errors (but other
directories---like libmp3lame---have problems exactly due to the "bare"
-I option to gcc).
Regards, Rogério Brito.
--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito :
http://meusite.mackenzie.com.br/rbritoProjects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________
Lame-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lame-dev