Conflict between curses.h
From: Yard, John (jyard_at_AIS.UCLA.EDU)
Date: 01/27/05
- Previous message: Barnhart, Troy: "Re: lspath question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Jan 2005 12:39:32 -0800 To: aix-l@Princeton.EDU
I am compiling a product ( lftp ) using gcc
and I an getting a compilation error than
is a conflict between the AIX curses.h
/usr/include/curses.h and the gcc curses.h
- I am using the toolbox gcc - in /opt/freeware.
I am sure this is very simple, but what do I need to do to
have gcc use it's curses.h ?
Thks,
John Yard
UCLA
Making all in src
if /bin/sh ../libtool --silent --tag=CXX --mode=compile
/usr/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2
-Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Winline -MT lftp_tinfo.lo -MD -MP -MF
".deps/lftp_tinfo.Tpo" -c -o lftp_tinfo.lo lftp_tinfo.cc; then mv -f
".deps/lftp_tinfo.Tpo" ".deps/lftp_tinfo.Plo"; else rm -f
".deps/lftp_tinfo.Tpo"; exit 1; fi
In file included from lftp_tinfo.cc:27:
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
1996: error: declaration
of C function `int mvwprintw(WINDOW*, int, int, ...)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
382: error: previous
declaration `int mvwprintw(WINDOW*, int, int, char*, ...)' here
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
1997: error: declaration
of C function `int mvwscanw(WINDOW*, int, int, ...)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
383: error: previous
declaration `int mvwscanw(WINDOW*, int, int, char*, ...)' here
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
1999: error: declaration
of C function `int overwrite(WINDOW*, WINDOW*)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
1274: error: previous
declaration `int overwrite(const WINDOW*, WINDOW*)' here
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
2002: error: declaration
of C function `int waddstr(WINDOW*, char*)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
1280: error: previous
declaration `int waddstr(WINDOW*, const char*)' here
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
2012: error: declaration
of C function `int wprintw(WINDOW*, ...)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
385: error: previous
declaration `int wprintw(WINDOW*, char*, ...)' here
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
2014: error: declaration
of C function `int wscanw(WINDOW*, ...)' conflicts with
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/curses.h:
385: error: previous
declaration `int wscanw(WINDOW*, char*, ...)' here
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
- Previous message: Barnhart, Troy: "Re: lspath question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|