#15 job.c:41:19: sound.h: No such file or directory

v1.1
closed-fixed
nobody
5
2003-12-15
2003-12-15
David Liontooth
No

I'm getting a build error with the 1.1.1-1 tarball:

if gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/X11R6/include -DVERSION=\"1.1.1\" -g -O2
-I/vc/software/tarballs/xvidcap-1.1.1/ffmpeg/libavcodec
-I/vc/software/tarballs/xvidcap-1.1.1/ffmpeg/libavformat
-MT xvidcap-job.o -MD -MP -MF ".deps/xvidcap-job.Tpo" \ -c -o xvidcap-job.o `test -f 'job.c' || echo
'./'`job.c; \ then mv ".deps/xvidcap-job.Tpo" ".deps/xvidcap-job.Po"; \ else rm -f ".deps/xvidcap-job.Tpo"; exit 1; \ fi
job.c:41:19: sound.h: No such file or directory
make[2]: *** [xvidcap-job.o] Error 1
make[2]: Leaving directory
`/mnt/vc/software/tarballs/xvidcap-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/vc/software/tarballs/xvidcap-1.1.1'
make: *** [all] Error 2

Yesterday's cvs r1_1_1rc2 builds without problems.

Discussion

  • Logged In: YES
    user_id=897748

    If I modify job.c so that

    #include "sound.h"

    reads

    #include "../gt/sound.h"

    then the compilation completes without protests. However, I
    have no idea if this really fixes the bug or not.

     
  • Logged In: YES
    user_id=897748

    Moving #include "sound.h" to #include "../gt/sound.h" in
    job.c seems to fix the bug, as the compiled application now
    works great.

     
  • Logged In: YES
    user_id=782084

    (closing)
    fixed in CVS, going to rerelease 1.1.1 after fixing the
    "error acessing
    sound bug"
    I removed the old sound support files (which didn't work
    anyway) after
    rc2 and left one remnant in job.c.
    The workaround for now is to remove line 41 of job.c which
    looks like this:

    #include "sound.h"

    Karl.

     
    • status: open --> closed-fixed