Author |
Message |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Sat Sep 08, 2007 12:59 am Post subject: |
 |
|
|
|
makedeps always gives those warnings. They're not really errors, just ignore them. Is there a problem when you actually make (not make clean)?
And why are you compiling as root, or working as root at all? |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sat Sep 08, 2007 11:46 am Post subject: |
 |
|
|
|
The root login was leftover from when I was installing the different devel libraries for db4, mysql, and python. I'll edit this post when I try the build.
gcc -std=gnu99 -pipe -I. -Iinclude -I/home/sass/asss144/build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -I/usr/include/db4 -fPIC \
-DNODQ -DNOTREAP -DNOSTRINGCHUNK -DNOMPQUEUE -DNOMMAP \
-o /home/sass/asss144/build/dbtool /home/sass/asss144/build/statcodes.o main/util.c main/dbtool.c -L/usr/lib/ -Wl,-rpath,/usr/lib/ -ldb-4
main/dbtool.c: In function 'print_quoted':
main/dbtool.c:177: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness
main/dbtool.c:178: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness
main/dbtool.c: In function 'stats_print_stats':
main/dbtool.c:445: warning: pointer targets in passing argument 1 of 'print_quoted' differ in signedness
/usr/bin/ld: cannot find -ldb-4
collect2: ld returned 1 exit status
make: *** [/home/sass/asss144/build/dbtool] Error 1
|
edit:
Nor does changing "-ldb-4" to "-ldb4" work.
edit2:
I think I got it, my library was looking for a specific version. There is no file with just the major version to it's name.
DB_LDFLAGS = -L$(DB_LIB) -Wl,-rpath,$(DB_LIB) -ldb-4.3
|
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
|
Back to top |
|
 |
|