On Tue, Jun 14, Joe Morris (NTM) wrote:
Khanh Tran wrote:
I've been trying to compile MythTV 0.18.1 on SuSE 9.2, Are you sure that is 9.2 and not 9.3? however I keep getting the following errors. Anyone know what to do?
mythcdrom-linux.cpp In file included from /usr/include/asm/byteorder.h:59, from /usr/include/linux/cdrom.h:14, from mythcdrom-linux.cpp:3: /usr/include/linux/byteorder/little_endian.h:43: error: syntax error before `(' token /usr/include/linux/byteorder/little_endian.h:47: error: syntax error before `*' token /usr/include/linux/byteorder/little_endian.h: In function `__u64 __le64_to_cpup(...)': /usr/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use this function)
This looks a lot like the bug I was working to figure out to get kscd to get compiled in 9.3 with cdda support. The kscd author told me it was a glibc bug.
The kscd author is wrong. If somebody is including kernel header files, it is his own fault. He is, following the policy of kernel developers, not allowed to do so. And if he is doing it, it is his own responsibility to include it in a correct form. Since glibc is not involved at all here, it cannot be a glibc bug. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B