[Ktechlab-devel] compiling on ppc64
Markus Rothe
markus at unixforces.net
Tue Sep 12 19:39:58 UTC 2006
Hello,
I try to compile on PPC64, but it fails, because of a missing header:
ake[1]: Entering directory
`/var/tmp/portage/ktechlab-0.3/work/ktechlab-0.3/src/electronics'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX
powerpc64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I../../src -I../../src/electronics -I../../src/electronics/components
-I../../src/electronics/simulation -I../../src/flowparts -I../../src/gui
-I../../src/languages -I../../src/mechanics -I../../src/micro
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/kde/3.5/include
-I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT
-D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -pipe -mtune=power5 -mcpu=power5
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -c -o port.lo `test -f 'port.cpp' ||
echo './'`port.cpp
port.cpp:19:20: error: sys/io.h: No such file or directory
If I remove the "#include <sys/io.h>" it compiles just fine, so I _guess_ that
it is not needed on ppc64. Can we make the inclusion of the header arch
specific?
Regards,
Markus Rothe
More information about the Ktechlab-devel
mailing list