From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Puneet Singhal" To: "Eric Gilmore" , Subject: RE: Building gcc on HPUX 11.00 Date: Tue, 30 Jan 2001 00:03:00 -0000 Message-id: References: <5.0.2.1.0.20010126180124.00a69930@xrose02.rose.hp.com> X-SW-Source: 2001-01/msg00204.html Hi Eric, >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/pwd.h:99, > from >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352, > from foo.c:1: >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30: >warning: `__va__list' redefined >/usr/include/pwd.h:27: warning: this is the location of the >previous definition >In file included from >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:356, > from foo.c:1: >/usr/include/errno.h:26: warning: `__va__list' redefined >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30: >warning: this is the location of the previous definition >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > I think this problem does not have anything to do with GCC not working on HPUX Actually, GCC provides some corrected header files like varargs.h etc. Find the directory and include it While giving the gcc build command using the "-I" switch as the first switch. Tell me if this works. Puneet