- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- floatformat.c parse erorr when building GCC 3.3.2 ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 08:27 AM
11-10-2003 08:27 AM
I keep running into the following errors when compiling GCC 3.3.2 on hpux 11i (11.11):
make[1]: Entering directory `/opt/patches/gcc-3.3.2/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional -pedantic floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional -pedantic floatformat.c -o floatformat.o
floatformat.c:24: error: parse error before "size_t"
floatformat.c:25: error: parse error before "size_t"
make[1]: *** [floatformat.o] Error 1
make[1]: Leaving directory `/opt/patches/gcc-3.3.2/libiberty'
make: *** [all-libiberty] Error 2
I am using standard configure line:
./configure --prefix=/opt/gcc
Here are the compiled versions of surrounding apps:
bison (GNU Bison) 1.875
flex version 2.5.4
GNU Make 3.80
binutils 2.11.2
I have GCC 3.3.2 binary installed but i want to build from source. (The binary was pulled from one of these hpux porting sites around).
My issue in using a binary install is not so much the prebuilt package but its because its installing under /usr/local NOT /opt (sorry, must adhere to a standard).
Thanks for any help.
Vinnie Lima
vlima@csc.com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 08:35 AM
11-10-2003 08:35 AM
SolutionGet my 11.11 port from https://www.beepz.com/personal/merijn/, http://www.cmve.net/~merijn/, or http://ww.hpux.ws/merijn/ which also includes a much more recent set of binutils
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 08:38 AM
11-10-2003 08:38 AM
Re: floatformat.c parse erorr when building GCC 3.3.2 HPUX 11.11
Thanks,
v.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 09:05 AM
11-10-2003 09:05 AM
Re: floatformat.c parse erorr when building GCC 3.3.2 HPUX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 09:09 AM
11-10-2003 09:09 AM
Re: floatformat.c parse erorr when building GCC 3.3.2 HPUX 11.11
downloads in http://www.cmve.net/~merijn/#Downloads
instructions in http://www.cmve.net/~merijn/#gcc
that's all there is to it
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 03:21 AM
11-11-2003 03:21 AM
Re: floatformat.c parse erorr when building GCC 3.3.2 HPUX 11.11
I have followed your instructions on your website, but i'm running into a compile syntax error. Here are the commands run so far:
../src/configure \^J--enable-languages=c,c++ \
--prefix=/opt/gcc --with-local-prefix=/opt/gcc \
--with-gnu-as --with-as=/usr/local/pa20_64/bin/as \
--with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld \
--disable-shared \
--disable-nls \
--host=hppa64-hp-hpux11
Then executed:
make bootstrap-lean
and the following error occurred:
/bin/sh ../../src/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/opt/gcc/hppa64-hp-hpux11.11/bin/ -isystem /opt/gcc/hppa64-hp-hpux11.11/include -isystem /opt/gcc/hppa64-hp-hpux11.11/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \
-c ../../src/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from include/stdio.h:24,
from ../../src/gcc/tsystem.h:72,
from ../../src/gcc/crtstuff.c:62:
include/sys/types.h:48: error: parse error before "sbsize64_t"
include/sys/types.h:49: error: parse error before "bsize64_t"
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/opt/patches/obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/opt/patches/obj/gcc'
make: *** [bootstrap-lean] Error 2
Any suggestions? i've read a couple of posts on this forum about modifying the types.h file but I am not sure which one i'm supposed to modify in my system.
Thanks,
Vinnie Lima
vlima@csc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2003 07:16 AM
11-11-2003 07:16 AM
Re: floatformat.c parse erorr when building GCC 3.3.2 HPUX 11.11
The root of all evil was an incorrectly built make installation on my platform.
To remediate this, I used merijn's gcc binaries, and rebuilt make 3.80 from source on my platform.
Then i proceeded to recompile gcc from source using the gcc binary from merijn's website.
No errors, everything installed perfectly fine!
Thanks for all the help.
Vinnie Lima
vlima@csc.com
/opt/gcc/bin> ./gcc -v
Reading specs from ./../lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/specs
Configured with: ../src/configure --enable-languages=c,c++ --prefix=/opt/gcc --with-local-prefix=/opt/gcc --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld --disable-shared --disable-nls --host=hppa64-hp-hpux11.11
Thread model: single
gcc version 3.3.2