Re: Conflict between curses.h
From: Chafik,Basim (basim.chafik_at_PLX.COM)
Date: 01/27/05
- Previous message: Jeff Barratt-Mccartney: "Conflict between curses.h"
- Maybe in reply to: Jeff Barratt-Mccartney: "Conflict between curses.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Jan 2005 12:59:31 -0800 To: aix-l@Princeton.EDU
change the LIBPATH (and/or LD_LIBRARY_PATH) environment variable to point to
the gcc curses.h path before the /usr/incluse/curses.h path
Basim Chafik
Senior Systems Analyst
IBM Certified Advanced Technical Expert (CATE)
1.800.688.4895
basim.chafik@plx.com
plexus (Division of BancTec)
-----Original Message-----
From: Yard, John [mailto:jyard@AIS.UCLA.EDU]
Sent: Thursday, January 27, 2005 3:40 PM
To: aix-l@Princeton.EDU
Subject: Conflict between curses.h
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: Jeff Barratt-Mccartney: "Conflict between curses.h"
- Maybe in reply to: Jeff Barratt-Mccartney: "Conflict between curses.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|