link problem

Floréal/Flop <[email protected]> Sat, 8 Jul 2006 15:30:56 +0200
Newsgroups gmane.comp.djb.cdb
Message-ID <[email protected]>
Hello,
i'm a french stundent and i'm working on a new fast oo language.
I've tryied to make bindings for cdb, but i'm unable to link my test
application. I've got undefined referencies.

I've only include <cdb.h> and add a -lcdb ... and doing that all
function of uint32 are not visible for linking.


My question is, can i do my binding with just something like '-l??' or
must i make something more boring.


Thx for reading, and very sorry for my english

Floréal M.

PS> My command line look something like
gcc -Wall -pipe -fomit-frame-pointer -O2 -I /home/flop/master/prm/lib
testcdb._link_frta_mix8_large.c testcdb._link_frta_mix8_large.kernel.S
testcdb._link_frta_mix8_large.cdb.S
testcdb._link_frta_mix8_large.string.S
testcdb._link_frta_mix8_large.array.S
testcdb._link_frta_mix8_large.range.S
testcdb._link_frta_mix8_large.stream.S
testcdb._link_frta_mix8_large.file.S
testcdb._link_frta_mix8_large.testcdb.S
testcdb._link_frta_mix8_large.S /home/flop/master/prm/lib/stream_prm.c /home/flop/master/prm/lib/io.c
 -lcdb