Hello: i write a device driver for L4 with DDE but when i compile the server and client code it can't link into the lib dde_linux26 with the error like this: ld: cannot find -ldde_linux26 I check the files in the libdde* and there are only these files: libddekit.a libdde_linux26_block.a libdde_linux26_net.a libdde_linux26.o.a libdde_linux26_sound.a No libdde_linux26.a but libdde_linux26.o.a instead.
Maybe some configuation is wrong and thanks for your any suggestion. Cheng
Hi,
just add "libdde_linux26.o" instead of "libdde_linux26" to your Makefile and it will work. IMHO this change was made because otherwise the linker might have some problems to find certain symbols inside the library, and thus will refuse to link the file. But others may correct me if I am wrong.
Regards, Andre
Guanghui, Cheng wrote:
Hello: i write a device driver for L4 with DDE but when i compile the server and client code it can't link into the lib dde_linux26 with the error like this: ld: cannot find -ldde_linux26 I check the files in the libdde* and there are only these files: libddekit.a libdde_linux26_block.a libdde_linux26_net.a libdde_linux26.o.a libdde_linux26_sound.a No libdde_linux26.a but libdde_linux26.o.a instead.
Maybe some configuation is wrong and thanks for your any suggestion. Cheng
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Hi Cheng,
i write a device driver for L4 with DDE but when i compile the server and client code it can't link into the lib dde_linux26 with the error like this: ld: cannot find -ldde_linux26 I check the files in the libdde* and there are only these files: libddekit.a libdde_linux26_block.a libdde_linux26_net.a libdde_linux26.o.a libdde_linux26_sound.a No libdde_linux26.a but libdde_linux26.o.a instead.
So, then try linking with -ldde_linux26.o ;)
Cheers, Bjoern
l4-hackers@os.inf.tu-dresden.de