View previous topic :: View next topic |
Author |
Message |
bmcclinton
Joined: 16 Jan 2006 Posts: 12
|
Posted: Sat Jan 28, 2006 2:31 pm Post subject: 3.1.0 make dependencies |
|
|
I'm getting an error in the make for vpconfig. Anybody know what the missing dependency is here? I'm running Open SuSE 10.. I have all the MySQL packages installed, although I'm not configuring WVIEW for it yet.
Bruce
-----
Making all in vpconfig
make[4]: Entering directory `/usr/wview-3.1.0/stations/VantagePro/vpconfig'
gcc -g -O2 -o vpconfig -L/usr/lib -L/usr/local/lib -L/usr/local/lib serial.o ethernet.o vproInterface.o vpconfig.o -lc -lm -lrad -lz -lpng -lm -lgd -lc
/usr/local/lib/librad.so: undefined reference to `mysql_field_count'
/usr/local/lib/librad.so: undefined reference to `mysql_store_result'
/usr/local/lib/librad.so: undefined reference to `mysql_fetch_row'
/usr/local/lib/librad.so: undefined reference to `mysql_affected_rows'
/usr/local/lib/librad.so: undefined reference to `mysql_init'
/usr/local/lib/librad.so: undefined reference to `mysql_close'
/usr/local/lib/librad.so: undefined reference to `mysql_errno'
/usr/local/lib/librad.so: undefined reference to `mysql_error'
/usr/local/lib/librad.so: undefined reference to `mysql_num_fields'
/usr/local/lib/librad.so: undefined reference to `mysql_fetch_field'
/usr/local/lib/librad.so: undefined reference to `mysql_free_result'
/usr/local/lib/librad.so: undefined reference to `mysql_query'
/usr/local/lib/librad.so: undefined reference to `mysql_real_connect'
/usr/local/lib/librad.so: undefined reference to `mysql_field_seek'
/usr/local/lib/librad.so: undefined reference to `mysql_fetch_lengths'
collect2: ld returned 1 exit status
make[4]: *** [vpconfig] Error 1
make[4]: Leaving directory `/usr/wview-3.1.0/stations/VantagePro/vpconfig'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/wview-3.1.0/stations/VantagePro'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/wview-3.1.0/stations'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/wview-3.1.0'
make: *** [all] Error 2 |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sat Jan 28, 2006 5:17 pm Post subject: |
|
|
Hi Bruce
I'm no expert and no doubt Mark will be along in a minute, but it looks like you've got radlib configured for MySQL but wview isn't. I kind of think if you do one you need to do the other. If you want to configure it for future database use but not run the database right now you could always answer '0' to the question "Should wviewd store archive data in a relational database (0 or 1)?" when running wviewconfig.
Jon |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Jan 28, 2006 5:52 pm Post subject: |
|
|
Spot on Jon!
If radlib was linked (relocatable) with MySQL support, when you link wview with radlib you need to include the MySQL library as part of the link - and can disable SQL archiving as Jon described. The incremental radlib link leaves references to MySQL in the radlib library archive. So configure wview for MySQL as well.
Mark |
|
Back to top |
|
|
bmcclinton
Joined: 16 Jan 2006 Posts: 12
|
Posted: Sun Jan 29, 2006 1:21 am Post subject: |
|
|
Thanks! I did it right time around.
We've got rain scheduled for the am. I'll let you know if I see any problems Mark.
Bruce |
|
Back to top |
|
|
|