Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3052 - drip fails to compile
Summary: drip fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
Depends on:
Reported: 2002-05-26 16:13 UTC by Gwenn
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Gwenn 2002-05-26 16:13:48 UTC
drip-0.8.1-r3 fails to compile because of errors on encoder/demuxer.cpp and

It looks like includes are missing for stdio and stdlib : FILE, printf...
are undefined.
Comment 1 Gwenn 2002-05-26 16:17:00 UTC
Trace for demuxer.cpp:

demuxer.cpp:30: syntax error before `*'
demuxer.cpp: In function `gint drip_mpeg_seek_percentage(float)':
demuxer.cpp:154: `in_file' undeclared (first use this function)
demuxer.cpp:154: (Each undeclared identifier is reported only once
demuxer.cpp:154: for each function it appears in.)
demuxer.cpp:154: implicit declaration of function `int fseek(...)'
demuxer.cpp:155: implicit declaration of function `int ftell(...)'
demuxer.cpp: In function `void * drip_demux(void *, int)':
demuxer.cpp:523: implicit declaration of function `int fread(...)'
demuxer.cpp:525: implicit declaration of function `int fopen(...)'
demuxer.cpp:623: implicit declaration of function `int printf(...)'
demuxer.cpp:701: implicit declaration of function `int fclose(...)'
make[2]: *** [dripencoder-demuxer.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-26 19:16:54 UTC
what version of gcc?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-26 21:20:52 UTC
never mind, I get this error as well with 2.95.3
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-27 12:17:59 UTC
What version/versions of avifile ?  Also, what version of divx4linux ?
Lastly, what version of glibc, as /usr/include/stdio.h is part of glibc,
and defines those functions.
Comment 5 Gwenn 2002-05-27 12:39:10 UTC
Versions used :

Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-27 14:42:40 UTC
Ok, fixed in -r4.  Also please test if the problem on startup due to
non absolute /dev/dvd symlink are fixed.