Re: gcc command line ordering question

1999-12-30 Thread Wes Peters
Charlie Root wrote: > > I have a tiny little snippit of code here (test.c): > > char ldap_init(); > int main(int argc, char **argv) > { > ldap_init(); > return 0; > } > > I expect (want) a runtime error but I do expect it to compile when > linked with the openldap libraries. Here's my quand

Re: gcc command line ordering question

1999-12-29 Thread Dan Nelson
In the last episode (Dec 29), Charlie Root said: > I expect (want) a runtime error but I do expect it to compile when > linked with the openldap libraries. Here's my quandery: > > vv# gcc -L/usr/local/lib -I/usr/local/include -lldap -llber test.c > /tmp/ccj67244.o: In function `main': > /tmp/ccj6

gcc command line ordering question

1999-12-29 Thread Charlie Root
I have a tiny little snippit of code here (test.c): char ldap_init(); int main(int argc, char **argv) { ldap_init(); return 0; } I expect (want) a runtime error but I do expect it to compile when linked with the openldap libraries. Here's my quandery: vv# gcc -L/usr/local/lib -I/usr/local/i