SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Linking problem on socketapi


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Thomas Dreibholz <dreibh AT iem.uni-due.de>, <JCLetran AT smart.com.ph> <JCLetran AT smart.com.ph>
  • Cc: <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Linking problem on socketapi
  • Date: Wed Oct 5 17:02:01 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Jowell,

I have no idea (and have almost no experience with C++). I tested the stuff with
gcc 3.3 for Mac OS X.

Thomas, have you seen such an error? Is it related to a particular gcc version?

Best regards
Michael

On Oct 5, 2005, at 12:01 Uhr,
<JCLetran AT smart.com.ph>
wrote:


Hi,

I'm a newbie on SCTP and would like to use sctplib and socketapi.  I was able to install sctplib-1.0.4 successfully on a Linux box (Redhat Advance Server 3 - Kernel 2.4.21-32.0.1).

When installing the socketapi-1.7.0, I am able to compile everything except the sample programs (socket_programs and cppsocket_programs).

I get a linking problem of:

../socketapi/.libs/libsctpsocket.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)'

../socketapi/.libs/libsctpsocket.so: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*, unsigned)'

collect2: ld returned 1 exit status
make: *** [combined_server_1to1] Error 1

I'm specially interested on compiling the c programs. And I'm currently using gcc version 3.2.3.

Can somebody help me on this.

Thanks in advance.



Regards,
Jowell Letran
Software Development Specialist
Smart Communications, Inc. - Philippines

__________________________________________________
This communication is intended solely for the use of the addressee and authorized recipients. It may contain confidential or legally privileged information and is subject to the conditions in http://www.smart.com.ph/disclaimer.





Archive powered by MHonArc 2.6.19+.

Top of page