[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Authentication / C file
At 11:43 AM 9/20/99 +0200, Samson Bisaro wrote:
>but when i compile this file a get the following message :
>
>/tmp/cca139941.o: In function `connexion':
>/tmp/cca139941.o(.text+0x10): undefined reference to `ldap_init'
>/tmp/cca139941.o: In function `authentication':
>/tmp/cca139941.o(.text+0x56): undefined reference to `ldap_simple_bind_s'
>/tmp/cca139941.o(.text+0x6f): undefined reference to `ldap_perror'
>
>Any clue ?
Those are linking errors messages. You likely didn' include
the appropriate libraries:
cc -o foo foo.c -lldap -llber
You may need to specify additional libraries depending upon
your platform.
Kurt