[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems compiling dpkg on solaris (I know, I know)



I'm trying to compile dpkg on a solaris box today, and I'm getting the
following errors...  Can anyone help?

make[1]: Entering directory `/export/home/adam/dpkg-1.6.12/dselect'
c++ -D_REENTRANT -D_GNU_SOURCE -O2 -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I.
-I../
include -I.. -I. -D_REENTRANT -D_GNU_SOURCE -O2 -c basecmds.cc
In file included from /usr/include/curses.h:23,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/curses.h:5,
                 from dselect.h:30,
                 from basecmds.cc:31:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous
definition
/usr/include/widec.h:43: warning: `putwc' redefined
/usr/include/wchar.h:329: warning: this is the location of the previous
definition
/usr/include/widec.h:44: warning: `getwchar' redefined
/usr/include/wchar.h:327: warning: this is the location of the previous
definition
/usr/include/widec.h:45: warning: `putwchar' redefined
/usr/include/wchar.h:330: warning: this is the location of the previous
definition
c++ -D_REENTRANT -D_GNU_SOURCE -O2 -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I.
-I../include -I.. -I. -D_REENTRANT -D_GNU_SOURCE -O2 -c baselist.cc
In file included from /usr/include/curses.h:23,
                 from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/curses.h:5,
                 from dselect.h:30,
                 from baselist.cc:34:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous
definition
/usr/include/widec.h:43: warning: `putwc' redefined
/usr/include/wchar.h:329: warning: this is the location of the previous
definition
/usr/include/widec.h:44: warning: `getwchar' redefined
/usr/include/wchar.h:327: warning: this is the location of the previous
definition
/usr/include/widec.h:45: warning: `putwchar' redefined
/usr/include/wchar.h:330: warning: this is the location of the previous
definition
baselist.cc: In function `static void baselist::sigwinchhandler(int)':
baselist.cc:53: implicit declaration of function `int ioctl(...)'
baselist.cc:54: implicit declaration of function `int resizeterm(...)'
baselist.cc: In method `void baselist::itd_keys()':
baselist.cc:259: passing `const char *' as argument 2 of `waddstr(WINDOW *,
char *)' discards qualifiers
baselist.cc: In method `void baselist::refreshinfo()':
baselist.cc:297: passing `const char *' as argument 2 of `waddstr(WINDOW *,
char *)' discards qualifiers
baselist.cc: In method `void baselist::wordwrapinfo(int, const char *)':
baselist.cc:328: passing `const char *' as argument 2 of `waddnstr(WINDOW *,
char *, int)' discards qualifiers
baselist.cc:350: passing `const char *' as argument 2 of `waddnstr(WINDOW *,
char *, int)' discards qualifiers
make[1]: *** [baselist.o] Error 1
make[1]: Leaving directory `/export/home/adam/dpkg-1.6.12/dselect'
make: *** [all-recursive] Error 2

--Adam


Reply to: