[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make progs error
From: |
Bramhill, Kevin |
Subject: |
make progs error |
Date: |
Tue, 5 May 2009 11:20:23 +0100 |
I have just tried to run make progs using gdbm-1.8.3 (under Ubuntu 8)
and it produced the output below ending with an error, (if this tells
you it's my fault please let me know). Thanks.
address@hidden:/home/mm6/gdbm-1.8.3# make progs
touch gdbmdefs.h
gcc -c -I/usr/local/BerkeleyDB.4.7/include -I. -I. -g -O2 testgdbm.c
/bin/sh ./libtool gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib
-R/usr/local/BerkeleyDB.4.7/lib -o testgdbm testgdbm.o libgdbm.la
gcc -o .libs/testgdbm testgdbm.o -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.7/lib ./.libs/libgdbm.so -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/BerkeleyDB.4.7/lib
testgdbm.o: In function `main':
/home/mm6/gdbm-1.8.3/testgdbm.c:402: warning: the `gets' function is
dangerous and should not be used.
creating testgdbm
gcc -c -I/usr/local/BerkeleyDB.4.7/include -I. -I. -g -O2 testdbm.c
testdbm.c: In function 'main':
testdbm.c:128: warning: incompatible implicit declaration of built-in
function 'strlen'
/bin/sh ./libtool gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib
-R/usr/local/BerkeleyDB.4.7/lib -o testdbm testdbm.o libgdbm.la
libgdbm_compat.la
gcc -o .libs/testdbm testdbm.o -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.7/lib ./.libs/libgdbm.so
./.libs/libgdbm_compat.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/BerkeleyDB.4.7/lib
testdbm.o: In function `main':
/home/mm6/gdbm-1.8.3/testdbm.c:126: warning: the `gets' function is
dangerous and should not be used.
creating testdbm
gcc -c -I. -I. -g -O2 -DGNU ./testndbm.c
./testndbm.c: In function 'main':
./testndbm.c:125: warning: incompatible implicit declaration of built-in
function 'strlen'
/bin/sh ./libtool gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib
-R/usr/local/BerkeleyDB.4.7/lib -o testndbm testndbm.o libgdbm.la
libgdbm_compat.la
gcc -o .libs/testndbm testndbm.o -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.7/lib ./.libs/libgdbm.so
./.libs/libgdbm_compat.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/BerkeleyDB.4.7/lib
testndbm.o: In function `main':
/home/mm6/gdbm-1.8.3/./testndbm.c:135: warning: the `gets' function is
dangerous and should not be used.
creating testndbm
cp ./testndbm.c ./tndbm.c
gcc -c -I. -I. -g -O2 ./tndbm.c
./tndbm.c: In function 'main':
./tndbm.c:125: warning: incompatible implicit declaration of built-in
function 'strlen'
rm -f ./tndbm.c
gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib
-R/usr/local/BerkeleyDB.4.7/lib -o tndbm tndbm.o -ldl -lc
gcc: unrecognised option '-R/usr/local/BerkeleyDB.4.7/lib'
tndbm.o: In function `main':
/home/mm6/gdbm-1.8.3/./tndbm.c:135: warning: the `gets' function is
dangerous and should not be used.
tndbm.o: In function `main':
tndbm.c:(.text+0x78): undefined reference to `dbm_open'
tndbm.c:(.text+0x227): undefined reference to `dbm_store'
tndbm.c:(.text+0x2cf): undefined reference to `dbm_fetch'
tndbm.c:(.text+0x372): undefined reference to `dbm_delete'
tndbm.c:(.text+0x39f): undefined reference to `dbm_firstkey'
tndbm.c:(.text+0x3c1): undefined reference to `dbm_nextkey'
tndbm.c:(.text+0x44e): undefined reference to `dbm_nextkey'
tndbm.c:(.text+0x48b): undefined reference to `dbm_fetch'
tndbm.c:(.text+0x4c1): undefined reference to `dbm_firstkey'
tndbm.c:(.text+0x4fa): undefined reference to `dbm_fetch'
tndbm.c:(.text+0x526): undefined reference to `dbm_close'
collect2: ld returned 1 exit status
make: *** [tndbm] Error 1
**********************************************************************
This document is intended for, and should only be read by,
those persons to whom it is addressed. Its contents are
confidential and if you have received this message in error,
please delete it. Any form of reproduction, dissemination,
copying, disclosure, modification, distribution and / or
publication of this message without our prior written
consent is strictly prohibited.
Any views expressed in this message are those of the
individual sender, and do not necessarily represent the
position of CTSL. Furthermore CTSL does not authorise
or use e-mail for official contractual correspondence.
Nothing received in e-mail has any contractual validity.
CTSL and each legal entity in Cubic Corporation reserve
the right to monitor all e-mail communications through
its networks.
Registered Office:
Cubic Transportation Systems Ltd
AFC House
Honeycrock Lane
Salfords
Surrey
RH1 5LA
United Kingdom
Registered in England under number 01381707
**********************************************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make progs error,
Bramhill, Kevin <=