I have problems to compile audiocd plugin of mpfc 1.3.5 on this system: Linux e275d 2.6.12 #1 Mon Jun 20 19:18:28 EEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux Gnu C 3.4.3 Gnu make 3.80 binutils 2.15.92.0.2 util-linux 2.12i mount 2.12i module-init-tools 3.0 e2fsprogs 1.37 jfsutils 1.1.4 reiserfsprogs line reiser4progs line xfsprogs 2.6.25 nfs-utils 1.0.6 Linux C Library 2.3.5 Dynamic linker (ldd) 2.3.5 Procps 3.2.5 Net-tools 1.60 Kbd 1.12 Sh-utils 5.2.1 Modules Loaded This is what happens in src/plugins/input/audiocd/: if /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../libmpfcwnd -g -O2 -MT audiocd.lo -MD -MP -MF ".deps/audiocd.Tpo" \ -c -o audiocd.lo `test -f 'audiocd.c' || echo './'`audiocd.c; \ then mv -f ".deps/audiocd.Tpo" ".deps/audiocd.Plo"; \ else rm -f ".deps/audiocd.Tpo"; exit 1; \ fi rm -f .libs/audiocd.lo gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../libmpfcwnd -g -O2 -MT audiocd.lo -MD -MP -MF .deps/audiocd.Tpo -c audiocd.c -fPIC -DPIC -o .libs/audiocd.lo In file included from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from /usr/include/sys/fcntl.h:1, from audiocd.c:34: /usr/include/sys/types.h:46: error: conflicting types for 'loff_t' /usr/include/linux/types.h:72: error: previous declaration of 'loff_t' was here /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:25: error: previous declaration of 'dev_t' was here In file included from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from /usr/include/sys/fcntl.h:1, from audiocd.c:34: /usr/include/sys/types.h:194: error: conflicting types for 'int64_t' /usr/include/linux/types.h:140: error: previous declaration of 'int64_t' was here /usr/include/sys/types.h:200: error: conflicting types for 'u_int64_t' /usr/include/linux/types.h:139: error: previous declaration of 'u_int64_t' was here In file included from /usr/include/sys/types.h:216, from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from /usr/include/sys/fcntl.h:1, from audiocd.c:34: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:22: error: previous declaration of 'fd_set' was here make: *** [audiocd.lo] Error 1 It seems there is some kind of type conflict with system and linux headers. Any solution for this problem? I've sent a question to the author also. I will reply back any possible on this forum. Reproducible: Always Steps to Reproduce: 1. configure 2. make 3.
Adding configure switch --disable-audiocd would work-around this problem on 2.6.x kernels, but with the cost of not having audiocd support. The author of the program couldn't provide me with a solution.
whee, old bugs. :) Added cdaudio, wav and nls use flags to 1.3.7-r1 thanks