pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-current Linux 2.6.18-5-vserver-686/i686 2007-09-28 12:43



> In message <s93myv6x6i4.fsf%chel.imb.invention.com@localhost>
>       on Fri, 28 Sep 2007 16:29:55 +0300,
>       Aleksey Cheusov <cheusov%tut.by@localhost> wrote:
 >> lang/ruby18-base                           6 taca%NetBSD.org@localhost
> It failed to building dbm extention module.  What was left in
> ruby18-base/$objdir/ruby-1.8.6-p110/ext/dbm/mkmf.log?

Ruby version - ruby-1.8.6-p111


have_library: checking for __db_ndbm_open() in -ldb... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: '__db_ndbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_open; return 
0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_open(); return 0; }
/* end */

--------------------

have_func: checking for __db_ndbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: '__db_ndbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_open; return 
0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/ccyIiT7M.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `__db_ndbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_open(); return 0; }
/* end */

--------------------

have_library: checking for __db_ndbm_open() in -ldb2... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb2  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: '__db_ndbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_open; return 
0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb2  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -ldb2
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_open(); return 0; }
/* end */

--------------------

have_func: checking for __db_ndbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: '__db_ndbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_open; return 
0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/ccopWQR0.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `__db_ndbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_open(); return 0; }
/* end */

--------------------

have_library: checking for dbm_open() in -ldb1... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb1  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldb1  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_func: checking for dbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/ccQhe9Ue.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `dbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_library: checking for dbm_open() in -ldbm... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -ldbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -ldbm
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_func: checking for dbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/ccemhgHr.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `dbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_library: checking for dbm_open() in -lgdbm... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lgdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lgdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_func: checking for dbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/ccCKAGbI.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `dbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_library: checking for main() in -lgdbm... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lgdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lgdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

--------------------

have_library: checking for dbm_open() in -lqdbm... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lqdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static -lqdbm  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/usr/bin/ld: cannot find -lqdbm
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_func: checking for dbm_open()... -------------------- no

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
conftest.c: In function 't':
conftest.c:3: error: 'dbm_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../. -I../.././ext/dbm -I/usr/include 
-I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include -O2 -pthread 
-I/usr/include -I/home/pkgsrc/pkg/include/db4 -I/home/pkgsrc/pkg/include  -fPIC 
conftest.c  -L'.' -L'../..' -L. -pthread -L/usr/lib -Wl,-R/usr/lib 
-L/home/pkgsrc/pkg/lib -Wl,-R/home/pkgsrc/pkg/lib -rdynamic -Wl,-export-dynamic 
    -lruby18-static  -lpthread -ldl -lcrypt -lm -lpthread -lrt  -lc"
/tmp/cc4nZej3.o: In function `t':
conftest.c:(.text+0x33): undefined reference to `dbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

-- 
Best regards, Aleksey Cheusov.



Home | Main Index | Thread Index | Old Index