[Kstars-devel] FreeBSD compile error in indi

Jason Harris kstars at 30doradus.org
Sat May 28 21:27:29 CEST 2005


Hello,

Got this report from Lauri Watts on IRC today:  Compiling kstars on 
freeBSD-i386 fails with the following:

--------------------------------------------------
g++ -DHAVE_CONFIG_H -I../kstars/kstars/indi/webcam 
-I/svn/kdeedu/kstars/kstars/indi/webcam -I.. -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long 
-Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -g -O2 -g -pipe 
-march=i686 -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -fPIC -DPIC 
-c /svn/kdeedu/kstars/kstars/indi/webcam/PPort.cpp 
-o ../kstars/kstars/indi/webcam/.libs/PPort.o 
-Wp,-MD,../kstars/kstars/indi/webcam/.deps/PPort.TUlo
distcc[31109] ERROR: compile (null) on localhost failed
In file included 
from /svn/kdeedu/kstars/kstars/indi/webcam/PPort.cpp:21:
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:55:2: #error Please define 
a platform in the Makefile
In file included 
from /svn/kdeedu/kstars/kstars/indi/webcam/PPort.cpp:21:
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `int 
port_t::read_data()':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:84: error: `inb' undeclared 
(first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:84: error: (Each undeclared 
identifier is reported only once for each function it appears in.)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `int 
port_t::read_status()':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:85: error: `inb' undeclared 
(first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `int 
port_t::read_control()':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:86: error: `inb' undeclared 
(first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `void 
port_t::write_data(int)':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:94: error: `outb' 
undeclared (first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `void 
port_t::write_control(int)':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:95: error: `outb' 
undeclared (first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `void 
port_t::setbit_control(int)':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:96: error: `outb' 
undeclared (first use this function)
/svn/kdeedu/kstars/kstars/indi/webcam/port.h: In member function `void 
port_t::clearbit_control(int)':
/svn/kdeedu/kstars/kstars/indi/webcam/port.h:97: error: `outb' 
undeclared (first use this function)
distcc[31108] ERROR: 
compile /svn/kdeedu/kstars/kstars/indi/webcam/PPort.cpp on localhost 
failed
Error creating ../kstars/kstars/indi/webcam/PPort.lo. Exit status 1. 
--------------------------------------------------------------


-- 
KStars: Desktop Planetarium for KDE
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list