Closed GoogleCodeExporter closed 9 years ago
This is weird. What Linux do you run, and what is the compiler version?
Original comment by valenok
on 29 Nov 2010 at 11:59
I use Simply Linux (a distribution based on ALT Linux)
"gcc --version" output is the following:
i586-alt-linux-gcc (GCC) 4.4.1 20090725 (ALT Linux 4.4.1-alt3)
Original comment by vvzh.dev@gmail.com
on 29 Nov 2010 at 12:54
It looks like "cc" command does something weird on your distribution.
It does not behave like it needs to.
Original comment by valenok
on 30 Nov 2010 at 3:35
I asked about this in mailing lists of my distribution and got an answer. In
short, ALT Linux and Gentoo have -Wl,--as-needed option turned on by default,
that leads to this behavior. The answer also says that -ldl should always be
specified after .c and .o files because otherwise static building becomes
broken in all distributions.
If you're interested, here is the link to the mailing-list discussion (in
Russian):
http://lists.altlinux.org/pipermail/community/2010-December/667932.html
Original comment by vvzh.dev@gmail.com
on 1 Dec 2010 at 8:19
Ясно :-)
Submitted
http://code.google.com/p/mongoose/source/detail?r=89a4380d90748699cd69e3361afe46
b16b4ee6a5
Thanks.
Original comment by valenok
on 1 Dec 2010 at 9:26
Спасибо :)
Original comment by vvzh.dev@gmail.com
on 1 Dec 2010 at 7:00
Original issue reported on code.google.com by
vvzh.dev@gmail.com
on 28 Nov 2010 at 10:30