Bug 65063 - Konstruct fails to build kdemultimedia/mpeglib/lib/input
Summary: Konstruct fails to build kdemultimedia/mpeglib/lib/input
Status: RESOLVED DUPLICATE of bug 64490
Alias: None
Product: mpeglib
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Vogt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-28 01:29 UTC by Teemu Rytilahti
Modified: 2004-09-06 02:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Another solution (385 bytes, patch)
2004-09-06 02:22 UTC, Alain Crespo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teemu Rytilahti 2003-09-28 01:29:59 UTC
Version:            (using KDE KDE 3.1.92)
Installed from:    Compiled From Sources
Compiler:          GCC 3.3.2 
OS:          Linux

Konstruct fails to build kdemultimedia/mpeglib/lib/input for KDE 3.2 Alpha 2.. I'm using 2.6-test5, and Stormchaser thought it can be the reason of failing.. And here are the errors:

In file included from /usr/include/linux/cdrom.h:14,
                 from cdromAccess_Linux.cpp:17,
                 from cdromAccess.cpp:30:
/usr/include/asm/byteorder.h:38: error: syntax error before `(' token
/usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is not
   defined as a type.
/usr/include/asm/byteorder.h:43: error: syntax error before `}' token
/usr/include/asm/byteorder.h:44: error: syntax error before `.' token
/usr/include/asm/byteorder.h:50: error: syntax error before `.' token
/usr/include/asm/byteorder.h:51: error: syntax error before `.' token
/usr/include/asm/byteorder.h:52: error: syntax error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
                 from /usr/include/asm/byteorder.h:65,
                 from /usr/include/linux/cdrom.h:14,
                 from cdromAccess_Linux.cpp:17,
                 from cdromAccess.cpp:30:
/usr/include/linux/byteorder/swab.h:199: error: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: error: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: error: `__u64' was not declared in
   this scope
/usr/include/linux/byteorder/swab.h:213: error: `addr' was not declared in this
   scope
/usr/include/linux/byteorder/swab.h:214: error: variable or field `__swab64s'
   declared void
/usr/include/linux/byteorder/swab.h:214: error: `__swab64s' declared as an
   `inline' variable
/usr/include/linux/byteorder/swab.h:214: error: syntax error before `{' token
make[6]: *** [cdromAccess.lo] Error 1
make[6]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia/work/kdemultimedia-3.1.92/mpeglib/lib/input'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia/work/kdemultimedia-3.1.92/mpeglib/lib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia/work/kdemultimedia-3.1.92/mpeglib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia/work/kdemultimedia-3.1.92'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia/work/kdemultimedia-3.1.92'
make[1]: *** [build-work/kdemultimedia-3.1.92/Makefile] Error 2
make[1]: Leaving directory `/home/tpr/temp/konstruct/kde/kdemultimedia'
make: *** [dep-../../kde/kdemultimedia] Error 2
tpr@tuli:~/temp/konstruct/meta/kde$

HTH.
Comment 1 Matt Gibson 2003-09-28 16:14:40 UTC
(Just noted in passing:) This looks like it's the same bug as 64490; I'm 
guessing that there are some kernel versions that need the "#define 
_LINUX_BYTEORDER_SWAB_H" in the cdromAccess_Linux.cpp file, and some which 
don't. 
 
If it's any help putting a data point on the graph, I needed to remove the line 
to get compilation of KDE 3.1.4 to work with kernel 2.6.0-test5. 
Comment 2 Stephan Binner 2003-09-28 17:02:04 UTC
No bug in Konstruct. 
Comment 3 Thiago Macieira 2003-11-23 05:34:09 UTC
It is the same bug.

*** This bug has been marked as a duplicate of 64490 ***
Comment 4 Alain Crespo 2004-09-06 02:22:25 UTC
Created attachment 7425 [details]
Another solution