Bug 60315 - doesn't compile on linux-2.4.21
Summary: doesn't compile on linux-2.4.21
Status: RESOLVED DUPLICATE of bug 52669
Alias: None
Product: kaudiocreator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Gerd Fleischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 18:07 UTC by Florin Braescu
Modified: 2003-06-24 23:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florin Braescu 2003-06-24 18:07:47 UTC
Version:           3.1.2 (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.3 
OS:          Linux

In linux-2.4.21 version the changes in some include headers broke the compilation of kdemultimedia 3.1.2 package. Here is the last part of the compile log:

...
creating kaudiocreator.all_cpp.cpp ...
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/lunar/kde/3/include -I/opt/lunar/qt/3/include -I/usr/X11R6/include  -static -Wall -DDATADIR=\"/opt/lunar/kde/3/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -Wno-deprecated -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -MT kaudiocreator.all_cpp.o -MD -MP -MF ".deps/kaudiocreator.all_cpp.Tpo" \
  -c -o kaudiocreator.all_cpp.o `test -f 'kaudiocreator.all_cpp.cpp' || echo './'`kaudiocreator.all_cpp.cpp; \
then mv ".deps/kaudiocreator.all_cpp.Tpo" ".deps/kaudiocreator.all_cpp.Po"; \
else rm -f ".deps/kaudiocreator.all_cpp.Tpo"; exit 1; \
fi
In file included from /usr/include/linux/cdrom.h:14,
                 from cdconfigimp.cpp:78,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/asm/byteorder.h:38: syntax error before `(' token
/usr/include/asm/byteorder.h:42: '__u64' is used as a type, but is not defined 
   as a type.
/usr/include/asm/byteorder.h:43: syntax error before `}' token
/usr/include/asm/byteorder.h:44: syntax error before `.' token
/usr/include/asm/byteorder.h:50: syntax error before `.' token
/usr/include/asm/byteorder.h:51: syntax error before `.' token
/usr/include/asm/byteorder.h:52: 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 cdconfigimp.cpp:78,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/linux/byteorder/swab.h:199: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: `__u64' was not declared in this scope
/usr/include/linux/byteorder/swab.h:213: `addr' was not declared in this scope
/usr/include/linux/byteorder/swab.h:214: variable or field `__swab64s' declared 
   void
/usr/include/linux/byteorder/swab.h:214: `__swab64s' declared as an `inline' 
   variable
/usr/include/linux/byteorder/swab.h:214: syntax error before `{' token
In file included from kaudiocreator.all_cpp.cpp:6:
cdconfigimp.cpp:81: syntax error before `}' token
In file included from kaudiocreator.all_cpp.cpp:9:
queconfigimp.cpp: In member function `void QueConfigImp::addJob(Job*, 
   QString)':
queconfigimp.cpp:59: warning: unused variable `QueListViewItem*newItem'
In file included from kaudiocreator.all_cpp.cpp:11:
tracksconfigimp.cpp: In member function `void TracksConfigImp::newSong(int, 
   QString, int)':
tracksconfigimp.cpp:390: warning: unused variable `QListViewItem*newItem'
make[3]: *** [kaudiocreator.all_cpp.o] Error 1
make[3]: Leaving directory `/usr/src/kdemultimedia-3.1.2/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kdemultimedia-3.1.2/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdemultimedia-3.1.2'
make: *** [all] Error 2
Comment 1 Ismail Donmez 2003-06-24 18:39:40 UTC
We need the 2.5.x kernel workaround here too like in kscd/libwm. I will have a look at this 
tomorrow. 
Comment 2 icefox 2003-06-24 23:43:46 UTC
This problem only effects the 3.1 release and not CVS HEAD.  If anyone has a patch 
that fixes the problem for the 3.1 branch I will apply it. 

*** This bug has been marked as a duplicate of 52669 ***