[Roadster] Problems compiling....

Roberto Leibman roberto at leibman.net
Mon Jan 30 14:18:24 PST 2006


I've built mysql 5 rpms from scratch using srpms, and installed 
everything, including the package 
MySQL-embedded-5.0.18-0.glibc23.i386.rpm which I assume contains the 
embedded part of mysql.

However, when I try to compile roadster I get the following error:

make[2]: Entering directory `/root/roadster/src'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o roadster  main.o 
db.o downloadmanager.o directionswindow.o gui.o mainwindow.o 
gotowindow.o map.o mapinfowindow.o map_draw_cairo.o map_draw_gdk.o 
map_history.o map_hittest.o map_math.o map_style.o map_tilemanager.o 
import.o import_tiger.o importwindow.o util.o gpsclient.o location.o 
locationset.o locationeditwindow.o searchwindow.o search_road.o 
search_location.o search_city.o search_coordinate.o search.o 
scenemanager.o glyph.o road.o animator.o tooltipwindow.o test_poly.o 
-Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE 
-lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 
-lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation 
-lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2 -lpthread -lz -lm   
-L/usr/local/lib -lcairo    -L/usr/lib/mysql -lmysqld -lz -lpthread 
-lcrypt -lnsl -lm -lpthread -lrt -lmygcc -lsupc++ -L/usr/lib -lgps
gcc -g -O2 -Wall -o roadster main.o db.o downloadmanager.o 
directionswindow.o gui.o mainwindow.o gotowindow.o map.o mapinfowindow.o 
map_draw_cairo.o map_draw_gdk.o map_history.o map_hittest.o map_math.o 
map_style.o map_tilemanager.o import.o import_tiger.o importwindow.o 
util.o gpsclient.o location.o locationset.o locationeditwindow.o 
searchwindow.o search_road.o search_location.o search_city.o 
search_coordinate.o search.o scenemanager.o glyph.o road.o animator.o 
tooltipwindow.o test_poly.o -Wl,--export-dynamic -pthread  
-L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 
-lgnome-2 /usr/lib/libpopt.so -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 
-lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 
-lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lxml2 -L/usr/local/lib /usr/local/lib/libcairo.so -lXrender 
-lX11 -lXext -lpng12 -lfontconfig /usr/lib/libfreetype.so -lz 
-L/usr/lib/mysql -lmysqld /usr/lib/mysql/libz.a -lcrypt -lm -lrt -lmygcc 
-lsupc++ -L/usr/lib /usr/lib/libgps.so -lnsl -lpthread -Wl,--rpath 
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lmysqld
collect2: ld returned 1 exit status
make[2]: *** [roadster] Error 1
make[2]: Leaving directory `/root/roadster/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/roadster'
make: *** [all] Error 2

Any ideas?

Thanks

Roberto Leibman


More information about the roadster mailing list