> $ gcc -o conftest conftest.c
All I'm getting is "no such file or folder" :( Should I make the file as you stated 
above? 

...ok I did so :) Heres the output:
[root@mail mod_midgard-1.4.1-5]# gcc -o conftest conftest.c -lmidgard
/usr/bin/ld: cannot find -lmidgard
collect2: ld returned 1 exit status
[root@mail mod_midgard-1.4.1-5]# gcc -o conftest conftest.c
/tmp/ccD7yS1N.o: In function `main':
/tmp/ccD7yS1N.o(.text+0x7): undefined reference to `mgd_connect'
collect2: ld returned 1 exit status
[root@mail mod_midgard-1.4.1-5]# 

The contens of conftest is of course:
[root@mail mod_midgard-1.4.1-5]# less conftest.c 
char mgd_connect(); int main () { mgd_connect(); return 0; }

What now? Tarjei 
> and it will return an error. Try
> 
> $ gcc -o conftest conftest.c -lmidgard
> 
> and it will not complain. This is the test configure uses to see if a 
> library offers a symbol.
> 
> Emile
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to