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

Problems with ifmail



Hi,

I recently switched a computer that needs to function as a fidonet gateway
to Debian 2.0. Prior to Hamm ifmail (the gateway program) would compile
without problems, but now it doesn't and I can't really figure out why.
There is a debian package for ifmail, but I need a few compile-time
options, so I need to be able to compile it myself. 

This is where the make process aborted the first time:

gcc -O2 -Wall make_new_ref.o ref.o -lgdbm -lresolv -o make_new_ref
ld: cannot open -lgdbm: No such file or directory
make[1]: *** [make_new_ref] Error 1
make[1]: Leaving directory `/home/jaap/ifmail/iflib'
make: *** [all] Error 2

And, after installing libgdbmg1-dev this is what it told me (on the same
file):

gcc -O2 -Wall make_new_ref.o ref.o -lgdbm -lresolv -o make_new_ref
make_new_ref.o: In function `main':
make_new_ref.o(.text+0x12): undefined reference to `ref_init'
make_new_ref.o(.text+0x30): undefined reference to `ref_init'
make_new_ref.o(.text+0x60): undefined reference to `ref_first_key'
make_new_ref.o(.text+0x88): undefined reference to `ref_get_extended'
make_new_ref.o(.text+0xcb): undefined reference to `ref_store_extended'
make_new_ref.o(.text+0x11a): undefined reference to `ref_next_key'
make_new_ref.o(.text+0x151): undefined reference to `ref_deinit'
make_new_ref.o(.text+0x157): undefined reference to `ref_deinit'
make_new_ref.o(.text+0x16c): undefined reference to `ref_deinit'
make[1]: *** [make_new_ref] Error 1
make[1]: Leaving directory `/home/jaap/ifmail/iflib'
make: *** [all] Error 2



Thanks,
Jaap


Reply to: