1833776 Members
2056 Online
110063 Solutions
New Discussion

gcc 4.1.1 error, help!

 
rveri
Super Advisor

gcc 4.1.1 error, help!

hi,

I have installed , gcc 4.1.1 from hpux.connect.org.uk
* gettext , libconv , libcc , gcc
With same installation order with swinstall.
But getting the following error while compiling: ( os 11.11 64bit )


# gcc -c ~mydir/test1.cpp
In file included from /local/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/../../../../include/c++/4.1.1/iosfwd:49,
from /local/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/../../../../include/c++/4.1.1/ios:43,
from /local/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/../../../../include/c++/4.1.1/ostream:44,
from /local/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/../../../../include/c++/4.1.1/iostream:44,
from /fs_cc/home/sunilsc/test.cpp:1:
/local/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/../../../../include/c++/4.1.1/bits/postypes.h:49:35: error: stdint.h: No such file or directory


Whats wrong, why I am getting this error, thanks,

4 REPLIES 4
Jeff Miller - 1
Advisor

Re: gcc 4.1.1 error, help!


Per the below URL, I think that you are missing some build time dependencies (although I have not tried this out myself).

Hope this helps!!

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.1.1/
Florian Heigl (new acc)
Honored Contributor

Re: gcc 4.1.1 error, help!

HP-UX 11.11 lacks the stdint.h, it's true.
I'm also looking for it ;0

You could go ahead and try replacing it with sys/types.h, but I don't know if that will work properly.

11iv3 apparently has the stdint.h.
yesterday I stood at the edge. Today I'm one step ahead.
Dennis Handly
Acclaimed Contributor

Re: gcc 4.1.1 error, help!

>Florian: 11iv3 apparently has the stdint.h.

Yes, 11.31 supports C99 and is UNIX 2003 branded.
Florian Heigl (new acc)
Honored Contributor

Re: gcc 4.1.1 error, help!

I think 11.11/aCC was also ASNI C 99 compliant, it simply lacks the file for some reason.
yesterday I stood at the edge. Today I'm one step ahead.