[rrd-users] Cygwin build problems for 1.2.23

This is a discussion on [rrd-users] Cygwin build problems for 1.2.23 within the RRD Users forums, part of the Networking and Network Related category; I'm trying to build 1.2.23 on cygwin and running into some issues. I'm afraid I'm ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2007
Darren Dunham
 
Posts: n/a
Default [rrd-users] Cygwin build problems for 1.2.23

I'm trying to build 1.2.23 on cygwin and running into some issues.
I'm afraid I'm not very familiar with autoconfigure so I'm hoping
someone knows how this stuff is supposed to work.

Configure runs without errors and make proceeds pretty well. But
when it moves into 'bindings' it has problems.

make[2]: Entering directory `/home/ddunham/devel/rrd/rrdtool-1.2.23/bindings'
Making all in tcl
make[3]: Entering directory `/home/ddunham/devel/rrd/rrdtool-1.2.23/bindings/tcl'
gcc -shared -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -DPIC -L../../src/.libs -L../../src -L/usr/local/rrdtool-1.2.23/lib tclrrd.o -o tclrrd1.2.23.dll -lrrd_th -lm -ltclstub84
.../../src/.libs/librrd_th.a(librrd_th_la-rrd_gfx.o): In function `gfx_add_point':
/home/ddunham/devel/rrd/rrdtool-1.2.23/src/rrd_gfx.c:191: undefined reference to `_art_vpath_add_point'
[lots of undefined references omitted]

The issue here seems to be that the freetype, art, and png libraries
are not added to the gcc line. If I add them by hand, the compile
works.

$ gcc -shared -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -DPIC -L../../src/.libs -L../../src -L/usr/local/rrdtool-1.2.23/lib tclrrd.o -o tclrrd1.2.23.dll -lrrd_th -lm -ltclstub84 -lfreetype -lpng -lz -lart_lgpl_2
$

$ grep ALL_LIBS Makefile bindings/tcl/Makefile
Makefile:ALL_LIBS = -lfreetype -lpng -lz -lart_lgpl_2
bindings/tcl/Makefile:ALL_LIBS = -lfreetype -lpng -lz -lart_lgpl_2

The configure program found them, but the Makefile it creates in this
directory doesn't feed them to the compiler.

Any suggestions? Thanks!

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0