[Kstars-devel] Webcam bug update

Jason Harris kstars at 30doradus.org
Wed May 19 22:49:47 CEST 2004


On Wednesday 19 May 2004 04:10 am, Jasem Mutlaq wrote:
> Hopefully it will work now.
>
worksforme!

good to have you back, Jasem!  ;)

However, I am now getting a large number of "undefined reference" when linking 
v4ldriver.  The missing functions are defined in webcam/QCamV4L.h, which *is* 
included in v4ldriver.cpp, so I don't understand what's going on.  Anyway, 
here's the output:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  
-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 -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION    -o v4ldriver  eventloop.o indidrivermain.o v4ldriver.o 
libindicom.a liblilxml.a
v4ldriver.o: In function `ISNewSwitch':
v4ldriver.o(.text+0x2f8): undefined reference to `getY()'
v4ldriver.o(.text+0x306): undefined reference to `getU()'
v4ldriver.o(.text+0x314): undefined reference to `getV()'
v4ldriver.o: In function `ISNewNumber':
v4ldriver.o(.text+0x754): undefined reference to `setContrast(int)'
v4ldriver.o(.text+0x796): undefined reference to `setBrightness(int)'
v4ldriver.o(.text+0x7d8): undefined reference to `setHue(int)'
v4ldriver.o(.text+0x81a): undefined reference to `setColor(int)'
v4ldriver.o(.text+0x86f): undefined reference to `setWhiteness(int)'
v4ldriver.o(.text+0x874): undefined reference to `getContrast()'
v4ldriver.o(.text+0x88c): undefined reference to `getBrightness()'
v4ldriver.o(.text+0x8a4): undefined reference to `getHue()'
v4ldriver.o(.text+0x8bc): undefined reference to `getColor()'
v4ldriver.o(.text+0x8d4): undefined reference to `getWhiteness()'
v4ldriver.o(.text+0x995): undefined reference to `setFPS(int)'
v4ldriver.o(.text+0xa4c): undefined reference to `setSize(int, int)'
v4ldriver.o(.text+0xa58): undefined reference to `getWidth()'
v4ldriver.o(.text+0xa6a): undefined reference to `getHeight()'
v4ldriver.o: In function `writeRAW(char*, char*)':
v4ldriver.o(.text+0xb21): undefined reference to `getWidth()'
v4ldriver.o(.text+0xb28): undefined reference to `getHeight()'
v4ldriver.o: In function `writeFITS(char*, char*)':
v4ldriver.o(.text+0xc14): undefined reference to `getWidth()'
v4ldriver.o(.text+0xc1b): undefined reference to `getHeight()'
v4ldriver.o: In function `getBasicData()':
v4ldriver.o(.text+0xd89): undefined reference to `getMaxMinSize(int&, int&, 
int&, int&)'
v4ldriver.o(.text+0xd91): undefined reference to `getWidth()'
v4ldriver.o(.text+0xdb5): undefined reference to `getHeight()'
v4ldriver.o(.text+0xded): undefined reference to `getDeviceName()'
v4ldriver.o(.text+0xe0e): undefined reference to `getContrast()'
v4ldriver.o(.text+0xe26): undefined reference to `getBrightness()'
v4ldriver.o(.text+0xe3e): undefined reference to `getHue()'
v4ldriver.o(.text+0xe56): undefined reference to `getColor()'
v4ldriver.o(.text+0xe6e): undefined reference to `getWhiteness()'
v4ldriver.o: In function `connectV4L()':
v4ldriver.o(.text+0xfc4): undefined reference to `connectCam(char const*, int, 
unsigned long)'
v4ldriver.o(.text+0x1077): undefined reference to `disconnectCam()'
v4ldriver.o: In function `create_fits_header(FITS_FILE*, unsigned, unsigned, 
unsigned)':
v4ldriver.o(.text+0x10c8): undefined reference to `getDeviceName()'
v4ldriver.o: In function `updateStream(void*)':
v4ldriver.o(.text+0x11d6): undefined reference to `getWidth()'
v4ldriver.o(.text+0x11dd): undefined reference to `getHeight()'
v4ldriver.o(.text+0x11ea): undefined reference to `getY()'
v4ldriver.o(.text+0x11f8): undefined reference to `getU()'
v4ldriver.o(.text+0x1206): undefined reference to `getV()'
v4ldriver.o(.text+0x1214): undefined reference to `getColorBuffer()'


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


More information about the Kstars-devel mailing list