wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

3.1.0 make dependencies

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation
View previous topic :: View next topic  
Author Message
bmcclinton



Joined: 16 Jan 2006
Posts: 12

PostPosted: Sat Jan 28, 2006 2:31 pm    Post subject: 3.1.0 make dependencies Reply with quote

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
View user's profile Send private message
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sat Jan 28, 2006 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Jan 28, 2006 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bmcclinton



Joined: 16 Jan 2006
Posts: 12

PostPosted: Sun Jan 29, 2006 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> wview Installation All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group