klmr92 / uguu

Automatically exported from code.google.com/p/uguu
Other
0 stars 1 forks source link

ubuntu natty build #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pull the code
2. make (see os below)

What is the expected output? What do you see instead?
I receive linking errors:
$ cc   `curl-config --libs` curlftpscan.o cfwk.o ftpparse.o 
../libuguu/libuguu.a   -o curlftpscan 
curlftpscan.o: In function `main':
curlftpscan.c:(.text+0x148): undefined reference to `curl_global_init'

But
$ cc   curlftpscan.o cfwk.o ftpparse.o ../libuguu/libuguu.a   -o curlftpscan  
`curl-config --libs`
works fine

What version of the product are you using? On what operating system?
Ubuntu Natty 64-bit
Gcc: 4.5, 4.6

See also:
Similar problem: http://ubuntuforums.org/showthread.php?p=10452995

Original issue reported on code.google.com by stanisla...@gmail.com on 13 Feb 2011 at 7:35

GoogleCodeExporter commented 9 years ago
Thanks for the bugreport. How about --no-as-needed flag? In general I like your 
solution, but I want to keep Makefiles the way they are.

Original comment by ruslan.savchenko on 14 Feb 2011 at 7:15

GoogleCodeExporter commented 9 years ago
I tried it, but i didn't manage to make it work.

Original comment by stanisla...@gmail.com on 14 Feb 2011 at 8:42