Ryan Mansfield(deleted)
|
Re: Annoying QCC problem (QNX 6.4.1)
|
Ryan Mansfield(deleted)
05/16/2010 3:59 PM
post54801
|
Re: Annoying QCC problem (QNX 6.4.1)
On 10-05-16 03:52 PM, Armin Steinhoff wrote:
>
> Hello,
>
> I have ported the lib udt (UDP communication). No compile or link problems.
> But ... the code doesn't work! No problems with Linux and Windows!!
>
> The example application "appserver" (in dir app) has problems in the bind call and crashes wthin an error message by
executing of an cout statement =:-/
>
> The ported code of this small lib project is in the attachment ...
>
> What's the problem with QCC ??
You're linking against both the Dinkumware C++ library and the GNU C++
library.
QCC -Wall -DLINUX -I../src -g -finline-functions -DIA32 appserver.cpp -c
QCC appserver.o -o appserver -L../src -ludt -lstdc++ -lcpp -lcxa -lm
-lsocket
Remove -lstdc++ and it no longer crashes..
Regards,
Ryan Mansfield
|
|
|