- From: Sim Woon Chiat ICM CA MS MI E7 Extern <WoonChiat.Sim.extern AT icn.siemens.de>
- To: "'discussion AT sctp.de'" <discussion AT sctp.de>
- Subject: RE: [SCTP-Discussion] [Fwd: compilation error rel 14]
- Date: Mon Nov 5 13:52:01 2001
- List-id: SCTP Discussions <discussion.sctp.de>
hi,
the problem is due to the fact that redhat 6.2 uses glibc 2.1.3 which
defines the constant ERR in <sys/ucontext.h> which is also defined in the
header (curses.h) of the ncurses library. <sys/ucontext.h> is included by
<signal.h> which is in turn included in the curses-using test programs. this
causes the conflict. refer to the thread:
http://sources.redhat.com/ml/libc-hacker/2000-03/msg00009.html
the sctplib compiles successfully on redhat 7.0.
hope this helps.
wc
-----Original Message-----
From: Nahar,virendra
[mailto:vknahar AT netlab.hcltech.com]
Sent: Sunday, November 04, 2001 4:10 AM
To:
discussion AT sctp.de
Subject: Re: [SCTP-Discussion] [Fwd: compilation error rel 14]
Dear Michael
Thanks for the quick response
I am compiling on Red Hat Linux release 6.2 (Zoot)
Thanks
Nahar
Michael Tuexen wrote:
>
Dear Nahar,
>
>
the problem seems to be a conflict between the ncurses library and
>
other system libraries. Could you please tell me what OS you are
>
using. The authors of the curses using programs will look into it.
>
>
In the meantime use
>
make -i
>
instead of
>
make
>
>
This will ignore all errors. You will not be able to use some of
>
demo programs but all the demo programs which do not use the
>
curses library will build and work.
>
>
Best regards
>
Michael
>
On Saturday, November 3, 2001, at 08:43 Uhr, Nahar,virendra wrote:
>
>
>
>
> hi Micheal forwarding the mail again pls respond
>
> Thanks
>
> Nahar
>
> -------- Original Message --------
>
> Subject: compilation error rel 14
>
> Date: Sat, 03 Nov 2001 07:42:04 +0530
>
> From: "Nahar,virendra"
>
> <vknahar AT netlab.hcltech.com>
>
> Organization: HCL-T Chennai
>
> To:
>
> ajung AT exp-math.uni-essen.de
>
>
>
> n file included from /usr/include/ucontext.h:27,
>
> from /usr/include/signal.h:317,
>
> from monitor.c:43:
>
> /usr/include/sys/ucontext.h:74: warning: `ERR' redefined
>
> /usr/include/curses.h:195: warning: this is the location of the previous
>
> definition
>
> In file included from /usr/include/ucontext.h:27,
>
> from /usr/include/signal.h:317,
>
> from monitor.c:43:
>
> /usr/include/sys/ucontext.h:73: parse error before `('
>
> monitor.c: In function `initializecurses':
>
> monitor.c:245: `ERR' undeclared (first use in this function)
>
> monitor.c:245: (Each undeclared identifier is reported only once
>
> monitor.c:245: for each function it appears in.)
>
> monitor.c: In function `ncurses_display_PathStatus':
>
> monitor.c:399: `ERR' undeclared (first use in this function)
>
> monitor.c: In function `dataArriveNotif':
>
> monitor.c:499: warning: `InstreamID_position' might be used
>
> uninitialized in this function
>
> monitor.c: In function `stdinCallback':
>
> monitor.c:697: `ERR' undeclared (first use in this function)
>
> monitor.c:698: warning: unreachable code at beginning of switch
>
> statement
>
> make[3]: *** [monitor.o] Error 1
>
> make[3]: Leaving directory
>
> `/root/nahar/sctplib-1.0.0-pre14/sctplib/programs'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory `/root/nahar/sctplib-1.0.0-pre14/sctplib'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/root/nahar/sctplib-1.0.0-pre14'
>
> make: *** [all-recursive-am] Error 2
>
>
>
>
>
> --
>
> Virendra Nahar
>
> HCL-Technologies Ltd
>
> Networking Systems Lab
>
> 51, Jawaharlal Nehru Road
>
> Guindy Industrial Estate,
>
> Ekkatuthangal,
>
> Chennai - 600 097.
>
> Phone Off : +91 44 233 4174 or +91 44 233 4181(extn:261,218)
>
> mailto:vknahar AT netlab.hcltech.com
>
> _______________________________________________
>
> discussion mailing list
>
> discussion AT sctp.de
>
> http://www.sctp.de/mailman/listinfo/discussion
>
>
>
Michael.Tuexen AT micmac.franken.de
>
>
_______________________________________________
>
discussion mailing list
>
discussion AT sctp.de
>
http://www.sctp.de/mailman/listinfo/discussion
--
Virendra Nahar
HCL-Technologies Ltd
Networking Systems Lab
51, Jawaharlal Nehru Road
Guindy Industrial Estate,
Ekkatuthangal,
Chennai - 600 097.
Phone Off : +91 44 233 4174 or +91 44 233 4181(extn:261,218)
mailto:vknahar AT netlab.hcltech.com
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.