Operating System - HP-UX
1752589 Members
4484 Online
108788 Solutions
New Discussion юеВ

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

 
Valery Kolander
Advisor

Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

I am using:
OS = 11.11 64bit.
binutile 2.11.2
bison 1.875
gcc 3.2.3
flex 2.5.4a

I am trying to compile Apache, Informix and SSL
When I run:
{/tmp/apache_1.3.27} 27} ./configure --prefix=/opt/apache --with-port=80 --server-uid=apache --server-gid=apache --enable-module=ssl

It runs just fine, however, when I run "gmake", I get the following:

===> src/os/unix
gmake[3]: Entering directory `/tmp/apache_1.3.27/src/os/unix'
gcc -c -I../../os/unix -I../../include -DHPUX11 -DMOD_SSL=208114 -DMOD_SSL=20
8114 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` os.c
In file included from ../../include/ap_config.h:1129,
from os.c:6:
/usr/include/sys/socket.h:439: syntax error before "sendfile"
/usr/include/sys/socket.h:440: syntax error before "bsize_t"
/usr/include/sys/socket.h:441: syntax error before "sendpath"
/usr/include/sys/socket.h:442: syntax error before "bsize_t"
gmake[3]: *** [os.o] Error 1
gmake[3]: Leaving directory `/tmp/apache_1.3.27/src/os/unix'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/tmp/apache_1.3.27/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/tmp/apache_1.3.27'
gmake: *** [build] Error 2


From what I see in my research, it isn't liking the header file hppa2.0n-hp-hpux11.00. I am very new to compiling and do not know how to fix. I have tried to compile with cc with other errors no-one could answer, so now I am trying gcc. Thanks in advance for any help.
14 REPLIES 14
H.Merijn Brand (procura
Honored Contributor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

You can get a hp-pa1.1 gcc-3.3 on my ITRC site: https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/
Go for the 10.20 port

The size_t errors however are a known 11i issue, which - because I cannot access 11i - I have never been able to resolve (yet).

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

I found hppa1.1-hp-hpux10.20 on your site, however, don't I need hppa1.1-hp-hpux11.11?
H.Merijn Brand (procura
Honored Contributor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

the 10.20 is the only 1.1 port I made available, but it should run on 11i.
Again, I hav eno 11i

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

I am really struggling here. I just have never had to compile anything, so I apologize if I need too much hand holding.

I downloaded gcc-3.2-32-10.20-hppa1.1.tbz
and untared gcc-3.2-32-10.20-hppa1.1.tar into /tmp/pa11_32

Now,
I edited the $PATH to look there first for gcc and did the

{root@btsud4:/tmp/apache_1.3.27} which gcc
/tmp/pa11_32/bin/gcc

{root@btsud4:/tmp} which gmake
/usr/local/bin/gmake

then I ran the configure and gmake

{/tmp/apache_1.3.27} ./configure --prefix=/opt/apache --with-port=80 --server-uid=apache --server-gid=apache --enable-module=ssl
and this ran OK.
It breaks when I run gmake. I am just at a loss!!

Here is the error again.
===> src/os/unix
gmake[3]: Entering directory `/tmp/apache_1.3.27/src/os/unix'
/tmp/pa11_32/bin/gcc -c -I../../os/unix -I../../include -DHPUX11 -DMOD_SSL=20
8114 -DMOD_SSL=208114 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `.
./../apaci` os.c
In file included from ../../include/ap_config.h:1129,
from os.c:6:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
gmake[3]: *** [os.o] Error 1
gmake[3]: Leaving directory `/tmp/apache_1.3.27/src/os/unix'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/tmp/apache_1.3.27/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/tmp/apache_1.3.27'
gmake: *** [build] Error 2

Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

any ideas? Anyone!
H.Merijn Brand (procura
Honored Contributor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

Just received the full set of 11i include files from someone outside the forum that I'm trying to help with the same problem. *If* I find something, I'll be back on this.

If anyone can give me ssh to 11i (preferably 64bit OS) I might even get to look deeper and address the gcc compile failures.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

Just though I would let you know that I was also trying to compile this with CC. However, I was getting a different set of errors for this.

The good news is, I tried this compile with the newer version of openssl (0.9.7a) and I was successful. I used CC, openssl 0.9.7a, Informix and Apache. I finally got the "make" to work.

THANKS FOR ALL YOU HELP!!!!
Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

Just though I would let you know that I was also trying to compile this with CC. However, I was getting a different set of errors for this.

The good news is, I tried this compile with the newer version of openssl (0.9.7a) and I was successful. I used CC, openssl 0.9.7a, Informix and Apache. I finally got the "make" to work.

THANKS FOR ALL YOU HELP!!!!
Valery Kolander
Advisor

Re: Where can I get "hppa1.1-hp-hpux11.11" for gcc compile

NOW FOR THE BAD NEWS!!!
I am not able to start Apache. No errors are given, however, the log gives me this error:

/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcrypto.sl.0.9.7

So, I guess the battle is not over!