Page 1 of 1

VLC Make Error - dvdreader.cpp in RH9

Posted: 14 Jan 2004 08:43
by hoser
Hello all,

I've been trying to get VLS to compile for three days and have finally decided to ask for help from the group.

System Info

VLS-0.5.5
RH9
Kernel 2.4.20-20.9

I ran ./configure --prefix=/usr/local/vls

I keep getting the make failure with VLS below. After reading through ifo_types.h which is included in dvdreader.cpp, it appears to be checking to see if UINT8_MAX and a few other parameters are defined. These are defined in stdint.h and inttypes.h. I have verified that I have both of these header files in /usr/include and have even tried adding in a #include "/usr/include/inttypes.h" statement in dvdreader.cpp but still get the same error. There are sym links in /usr/local/include/dvdread to both inttypes.h and stdint.h.

How do I get these header files to include properly during VLS compiliation?


Thx in advance.



make[1]: Entering directory `/home/jukebox/downloads/videolan/src-rpm/vls-0.5.5/src/modules/dvdreader'
Generating dependancies for dvdreader.cpp...
In file included from dvdreader.cpp:40:
/usr/local/include/dvdread/ifo_types.h:26:2: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
Compiling dvdreader.cpp...
g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/vls/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -D__PLUGIN__ -fPIC -o obj/dvdreader.o -c dvdreader.cpp
In file included from dvdreader.cpp:40:
/usr/local/include/dvdread/ifo_types.h:26:2: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
make[1]: *** [obj/dvdreader.o] Error 1
make[1]: Leaving directory `/home/jukebox/downloads/videolan/src-rpm/vls-0.5.5/src/modules/dvdreader'
make: *** [dvdreader] Error 2

Posted: 10 Nov 2006 05:27
by clin
I meet this problem too.
Can someone answer it?
I temporarily fixed it without dvd support

Posted: 20 Jun 2007 16:56
by JohnnyX70
---