[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#196028: libc6-dev: [hppa] buggy kernel includes cause build failure



Package: libc6-dev
Version: 2.3.1-17
Severity: serious

On hppa there appears to be a bug in /usr/include/asm/byteorder.h
It causes kdemultimedia to fail to build with the following output. This
same code in kdemultimedia compiles on every other arch that debian
supports. I sent email to debian-hppa about this problem on May 23 with
no response.

Thanks,
Chris


creating kaudiocreator.all_cpp.cpp ...
if g++ -DHAVE_CONFIG_H -I. -I../../kaudiocreator -I..   -I/usr/include/kde -I/usr/include/qt3 -I.  -static -Wall -DDATADIR=\"/usr/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -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/'`kaudiocreator.all_cpp.cpp; \
then mv -f ".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 ../../kaudiocreator/cdconfigimp.cpp:78,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/asm/byteorder.h:43: error: syntax error before `(' token
/usr/include/asm/byteorder.h:46: error: `x' was not declared in this scope
/usr/include/asm/byteorder.h:47: error: `t1' was not declared in this scope
/usr/include/asm/byteorder.h:47: error: `int ___arch__swab32' redeclared as 
   different kind of symbol
/usr/include/asm/byteorder.h:9: error: previous declaration of `const __u32 
   ___arch__swab32(unsigned int)'
/usr/include/asm/byteorder.h:48: error: redefinition of `int ___arch__swab32'
/usr/include/asm/byteorder.h:47: error: `int ___arch__swab32' previously 
   defined here
/usr/include/asm/byteorder.h:49: error: parse error before `return'
In file included from /usr/include/linux/byteorder/big_endian.h:11,
                 from /usr/include/asm/byteorder.h:73,
                 from /usr/include/linux/cdrom.h:14,
                 from ../../kaudiocreator/cdconfigimp.cpp:78,
                 from kaudiocreator.all_cpp.cpp:6:
/usr/include/linux/byteorder/swab.h: In function `const __u32 
   __fswab32(unsigned int)':
/usr/include/linux/byteorder/swab.h:146: error: `___arch__swab32' cannot be 
   used as a function
/usr/include/linux/byteorder/swab.h: In function `__u32 __swab32p(__u32*)':
/usr/include/linux/byteorder/swab.h:150: error: `___arch__swab32' cannot be 
   used as a function
/usr/include/linux/byteorder/swab.h: In function `void __swab32s(__u32*)':
/usr/include/linux/byteorder/swab.h:154: error: `___arch__swab32' cannot be 
   used as a function
In file included from kaudiocreator.all_cpp.cpp:6:
../../kaudiocreator/cdconfigimp.cpp: At global scope:
../../kaudiocreator/cdconfigimp.cpp:81: error: parse error before `}' token
In file included from kaudiocreator.all_cpp.cpp:9:
../../kaudiocreator/queconfigimp.cpp: In member function `void 
   QueConfigImp::addJob(Job*, QString)':
../../kaudiocreator/queconfigimp.cpp:59: warning: unused variable `
   QueListViewItem*newItem'
In file included from kaudiocreator.all_cpp.cpp:11:
../../kaudiocreator/tracksconfigimp.cpp: In member function `void 
   TracksConfigImp::newSong(int, QString, int)':
../../kaudiocreator/tracksconfigimp.cpp:390: warning: unused variable `
   QListViewItem*newItem'
make[4]: *** [kaudiocreator.all_cpp.o] Error 1
make[4]: Leaving directory `/build/buildd/kdemultimedia-3.1.2/obj-hppa-linux/kaudiocreator'

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux calc 2.4.21-pre4-ac4 #1 Sun Feb 16 00:37:14 CST 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an

-- no debconf information




Reply to: