[packman] ldvd does not compile on ppc
Peter Czanik
pczanik at fang.fa.gau.hu
Tue Mar 21 21:43:09 CET 2006
Hello,
ldvd does not seem to compile on 10.0 PPC. The errors are:
...
++ dirname /var/tmp/ldvd-root
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/ldvd-root
+ cd ldvd-2.0.1
+ export 'CFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ export 'CPPFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ CPPFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
+ /usr/bin/make
gcc -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -c -o ldvd-ls.o ldvd-ls.c
In file included from /usr/include/dvdread/ifo_read.h:24,
from ldvd-ls.c:18:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
<inttypes.h> or <stdint.h> before any libdvdread header."
In file included from /usr/include/dvdread/ifo_read.h:24,
from ldvd-ls.c:18:
/usr/include/dvdread/ifo_types.h:68: error: syntax error before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:70: error: syntax error before ‘second’
/usr/include/dvdread/ifo_types.h:71: error: syntax error before ‘frame_u’
/usr/include/dvdread/ifo_types.h:78: error: syntax error before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:143: error: syntax error before ‘uint16_t’
/usr/include/dvdread/ifo_types.h:145: error: syntax error before
‘code_extension’
/usr/include/dvdread/ifo_types.h:146: error: syntax error before ‘unknown3’
/usr/include/dvdread/ifo_types.h:175: error: syntax error before ‘}’ token
/usr/include/dvdread/ifo_types.h:231: error: syntax error before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:258: error: syntax error before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:260: error: syntax error before
‘lang_extension’
/usr/include/dvdread/ifo_types.h:261: error: syntax error before
‘code_extension’
/usr/include/dvdread/ifo_types.h:270: error: syntax error before ‘uint16_t’
/usr/include/dvdread/ifo_types.h:272: error: syntax error before
‘nr_of_cell’
/usr/include/dvdread/ifo_types.h:273: error: syntax error before ‘last_byte’
/usr/include/dvdread/ifo_types.h:274: error: syntax error before ‘*’ token
/usr/include/dvdread/ifo_types.h:275: error: syntax error before ‘*’ token
/usr/include/dvdread/ifo_types.h:276: error: syntax error before ‘*’ token
/usr/include/dvdread/ifo_types.h:277: error: syntax error before ‘}’ token
/usr/include/dvdread/ifo_types.h:283: error: syntax error before
‘pgc_program_map_t’
/usr/include/dvdread/ifo_types.h:312: error: syntax error before ‘uint8_t’
/usr/include/dvdread/ifo_types.h:314: error: syntax error before
‘playback_time’
/usr/include/dvdread/ifo_types.h:315: error: syntax error before
‘first_sector’
/usr/include/dvdread/ifo_types.h:316: error: syntax error before
‘first_ilvu_end_sector’
/usr/include/dvdread/ifo_types.h:317: error: syntax error before
‘last_vobu_start_sector’
...
And a lot more lines like this...
Adding the requested line to source helped:linux:/usr/src/packages/SPECS
# diff /root/ldvd-ls.c*
18d17
< #include <stdint.h>
Is this just PPC specific, or affects other architectures too?
Bye,
CzP
More information about the Packman
mailing list