SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] compile error of sctplib-1.0.4


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: "Gurpreet" <gurpreetvirdi AT hotmail.com>
  • Cc: <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] compile error of sctplib-1.0.4
  • Date: Mon Jan 16 10:02:08 2006
  • List-id: SCTP Discussions <discussion.sctp.de>

It is fixed in CVS.

A corrected version is attached.

Best regards
Michael

Attachment: adaptation.c.gz
Description: GNU Zip compressed data



On Jan 16, 2006, at 9:35 Uhr, Gurpreet wrote:

Hi,

I just tried installing sctplib-1.0.4 on red hat linux 2.4.20-8smp and am getting the same error

.libs/adaptation.o
adaptation.c: In function `adl_gatherLocalAddresses':
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
make[3]: *** [adaptation.lo] Error 1

I could not understand your answer and how to fix this error? Is there any patch available for download. Also is there any latest verion after 1.0.4 that I can download and install.

Thanks,
Gurpreet


----- Original Message ----- From: "Michael Tuexen" <Michael.Tuexen AT micmac.franken.de>
To: "Andreas Fink"
<afink AT gni.ch>
Cc: "cassio mo"
<cassiomo AT yahoo.com>;

<discussion AT sctp.de>
Sent: Saturday, October 22, 2005 7:44 AM
Subject: Re: [SCTP-Discussion] compile error of sctplib-1.0.4


Hi Andreas,

it has been fixed in SVN. There are two #ifdefs missing...

Best regards
Michael

On Oct 22, 2005, at 17:13 Uhr, Andreas Fink wrote:

I've seen this error before once on MacOS X. Its relatively easy to fix. It means that in some places you do use IPV6 but the includes don't have that structure or its slightly differntly named or dont consider IPV6 being used.
Easiest is to compile without ipv6 support. Or you have to look up your system header files on how the structure is named on your system.

On 19.10.2005, at 23:05, cassio mo wrote:

Hi Mike,

I wrote it down incorrectly. The output error is

.libs/adaptation.o
adaptation.c: In function `adl_gatherLocalAddresses':
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3214: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
adaptation.c:3215: union has no member named `sin6'
make[3]: *** [adaptation.lo] Error 1

I have Redhat Enterprise version 2.4.13. How do I
disable the ipv6 in compiling?

Thanks

Kev -

--- Michael Tuexen
<Michael.Tuexen AT micmac.franken.de>
wrote:


Hi Cassio,

it look like you are compiling the sctplib on a
system without IPv6
support. I do not have such a system to test with...

Is the line number really 3241?

Best regards
Michael

On Oct 19, 2005, at 21:24 Uhr, cassio mo wrote:


Hi all,

I got copmile error when trying to compile the
sctplib-1.0.4 on linux kernel 2.4.

It said:

adpation.c:3241: union has no memeber named

'sin6'. I

have move the sctp.h to /uesr/local/include

already.


any help will be very welcome

Thanks

cassio



__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion



_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion






__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion



Andreas Fink
Global Networks Schweiz AG

------------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks Schweiz AG. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/
afink AT global-networks.ch
------------------------------------------------------------------
ICQ: 101946485 MSN:
msn1 AT gni.ch
AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201 5CBD D040 3E71 4DAF 68BB




_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion




Archive powered by MHonArc 2.6.19+.

Top of page