0.5.5-pre2 + id3 on FreeBSD 5.4-Release

Help
bhn
2005-05-20
2013-04-30
  • bhn

    bhn - 2005-05-20

    Hello!
    Hello!

    I had trouble getting icegenerator 0.5.5-pre2 to compile with id3 support on FreeBSD 5.4-Release.

    'configure --with-id3' correctly found the id3 library like so:

    ID3 library
    checking for library containing ID3Tag_Link... -lid3 -lz -lstdc++
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands

    However, the compilation breaks at the very first file being compiled like so:

    ~/icegenerator-0.5.5-pre2> make
    make  all-recursive
    Making all in src
    if g++ -DHAVE_CONFIG_H -I. -I. -I..      -ansi -pedantic -pipe -Wall -O3 -D_THREAD_SAFE -pthread -D_THREAD_SAFE -I/usr/local/include -MT circular.o -MD -MP -MF ".deps/circular.Tpo" -c -o circular.o circular.cpp;  then mv -f ".deps/circular.Tpo" ".deps/circular.Po"; else rm -f ".deps/circular.Tpo"; exit 1; fi
    In file included from /usr/local/include/id3/id3lib_frame.h:31,
                     from /usr/local/include/id3/tag.h:32,
                     from circular.h:44,
                     from circular.cpp:92:
    /usr/local/include/id3/globals.h:484: error: comma at end of enumerator list
    In file included from /usr/local/include/id3/utils.h:37,
                     from /usr/local/include/id3/tag.h:34,
                     from circular.h:44,
                     from circular.cpp:92:
    /usr/local/include/id3/id3lib_strings.h:200: error: extra `;'
    In file included from /usr/local/include/id3/tag.h:34,
                     from circular.h:44,
                     from circular.cpp:92:
    /usr/local/include/id3/utils.h:100: error: extra `;'
    /usr/local/include/id3/globals.h:542: warning: 'ID3_v1_genre_description' defined but not used
    *** Error code 1

    Stop in /root/icegenerator-0.5.5-pre2/src.
    *** Error code 1

    Stop in /root/icegenerator-0.5.5-pre2.
    *** Error code 1

    Stop in /root/icegenerator-0.5.5-pre2.

    -----

    I used the latest libid3, version 3.8.3 . The error is exactly the same if I install libid3 from the sourceforge source package, or if I install libid3 from the ports collection. Both are the same version.

    Any idea if this a bug in icegenerator or libid3?

    rgds,
    //bhn

     
  • Michael C. Cambria

    I had this issue too.  I think the problem is in libid3.  I was able to build by fixing the errors in the libid3 .h files which gcc complains about.  In two cases, I simply removed the ';'.  After rebuilding icegenerator (make install clean), you can undo the libid3 changes if needed for something else.

    I'm using FreeBSD 8.2-Stable, and a corresponding ports collection (portsnap fetch update).  For id3, I had to also modify the Makefile to supply -use-id3 to the configure arguments

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks