Menu

#41 Quicktime4Linux: failed to compile

open
nobody
None
5
2003-12-13
2003-12-13
No

libmpeg3 compiled beautifully, and quicktime4linux
began fine...some time into the compile, however, I get
'errored' to death (see the attached image.)

I've followed the installation instructions to the
letter....I've got gcc 3.2.2, on RH9.

Thanks in advance for your help!

Discussion

  • Erick Peirson

    Erick Peirson - 2003-12-13

    Snapshot of error output

     
  • Chuck R. Bell

    Chuck R. Bell - 2004-05-09

    Logged In: YES
    user_id=332799

    I am having almost exactly the same problem and almost
    exactly the same errors. I'm using:

    export CFLAGS="-O3 -march=athlon -fmessage-length=0
    -funroll-all-loops -fomit-frame-pointer -falign-loops=2
    -falign-jumps=2 -falign-functions=2"

    ...
    gcc -c `cat i686/c_flags` qtmp3.c -o i686/qtmp3.o
    qtmp3.c:2:18: lame.h: No such file or directory
    qtmp3.c:38: error: parse error before "lame_global_flags"
    qtmp3.c:38: warning: no semicolon at end of struct or union
    qtmp3.c:49: error: parse error before '}' token
    qtmp3.c:49: warning: data definition has no type or storage
    class
    qtmp3.c: In function `delete_codec':
    qtmp3.c:57: error: `codec' undeclared (first use in this
    function)
    qtmp3.c:57: error: (Each undeclared identifier is reported
    only once
    qtmp3.c:57: error: for each function it appears in.)
    qtmp3.c: At top level:
    qtmp3.c:96: error: parse error before "quicktime_mp3_codec_t"
    qtmp3.c: In function `chunk_len':
    qtmp3.c:104: error: `offset' undeclared (first use in this
    function)
    qtmp3.c:104: error: `next_chunk' undeclared (first use in
    this function)
    qtmp3.c:106: error: `file' undeclared (first use in this
    function)
    qtmp3.c:115: error: `codec' undeclared (first use in this
    function)
    qtmp3.c: In function `decode':
    qtmp3.c:150: error: `codec' undeclared (first use in this
    function)
    qtmp3.c: At top level:
    qtmp3.c:333: error: parse error before '*' token
    qtmp3.c: In function `allocate_output':
    qtmp3.c:336: error: `codec' undeclared (first use in this
    function)
    qtmp3.c:336: error: `samples' undeclared (first use in this
    function)
    qtmp3.c: At top level:
    qtmp3.c:360: error: parse error before "quicktime_mp3_codec_t"
    qtmp3.c: In function `write_frames':
    qtmp3.c:368: error: `codec' undeclared (first use in this
    function)
    qtmp3.c:386: error: `file' undeclared (first use in this
    function)
    qtmp3.c:386: error: `trak' undeclared (first use in this
    function)
    qtmp3.c:391: error: `track_map' undeclared (first use in
    this function)
    qtmp3.c: In function `encode':
    qtmp3.c:439: error: `codec' undeclared (first use in this
    function)
    qtmp3.c: In function `set_parameter':
    qtmp3.c:529: error: `codec' undeclared (first use in this
    function)
    qtmp3.c: In function `flush':
    qtmp3.c:545: error: `codec' undeclared (first use in this
    function)
    qtmp3.c: In function `quicktime_init_codec_mp3':
    qtmp3.c:564: error: `codec' undeclared (first use in this
    function)
    make: *** [i686/qtmp3.o] Error 1

    Slackware 9.1-current, gcc-3.3.3, glibc-2.3.2

    Any help much appreciated.

    Chuck Bell

     
  • Chuck R. Bell

    Chuck R. Bell - 2004-05-12

    Logged In: YES
    user_id=332799

    Ok, I finally got this fscker to compile. The trick on my
    system was noticing that it wasn't finding lame.h so I did a
    'locate lame.h' which showed it in /usr/include/lame. So I
    made a sym-link:

    ln -s /usr/include/lame/lame.h /usr/include/lame.h

    And viola!

    Cheers -

    Chuck Bell

     

Log in to post a comment.