the dde_linux26 link error

View: New views
4 Messages — Rating Filter:   Alert me  

the dde_linux26 link error

by Guanghui, Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: the dde_linux26 link error

by Andre Puschmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers


_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: the dde_linux26 link error

by Björn Döbel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

signature.asc (204 bytes) Download Attachment

Re: the dde_linux26 link error

by Guanghui, Cheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 27 July 2009 01:38:14 pm Andre Puschmann wrote:
> am wrong
        Thanks a lot.
        I will try
                                                                Cheng

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers