Operating System - HP-UX
1832152 Members
3376 Online
110038 Solutions
New Discussion

Re: qpopper compile error

 
SOLVED
Go to solution
Debbie Fleith
Regular Advisor

qpopper compile error

I'm trying to compile qpopper4.0.5 onto an HP 11.11 server and getting make errors:
========================
make install
./install-sh -c -m 0644 -o root ./man/popper.8 /usr/local/man/man8/
echo "Installed man/popper.8 as /usr/local/man/man8/popper.8"
Installed man/popper.8 as /usr/local/man/man8/popper.8
./install-sh -c -m 0644 -o root ./man/popauth.8 /usr/local/man/man8/
echo "Installed man/popauth.8 as /usr/local/man/man8/popauth.8"
Installed man/popauth.8 as /usr/local/man/man8/popauth.8
cd ./popper && make install
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common \
-g -O2 -DHAVE_CONFIG_H -DHPUX -DSPEC_POP_AUTH -DUNIX pop_dele.o
In file included from popper.h:62,
from pop_dele.c:29:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
==========

What do I need to resolve these errors?
7 REPLIES 7
Scot Bean
Honored Contributor

Re: qpopper compile error

Is there a reason you need to compile it yourself?

How about downloading a pre-compiled version from one of the HPUX porting websites, such as http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/qpopper-4.0.5/
Debbie Fleith
Regular Advisor

Re: qpopper compile error

When I go to the link to download a pre-compiled version of qpopper, do I download there is no code for HP 11.11 RISC processor. Where can I get that version, or shall I use the one for HP 11.0 RISC?
Pete Randall
Outstanding Contributor
Solution

Re: qpopper compile error

Debbie,

The 11.0 version should work fine.


Pete

Pete
Scot Bean
Honored Contributor

Re: qpopper compile error

Yep, most 11.00 apps install and run fine on 11.11.
Steven E. Protter
Exalted Contributor

Re: qpopper compile error

http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/qpopper-4.0.5/

swinstall -s /full_path_of_the_depot \*

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mark Huff II
Frequent Advisor

Re: qpopper compile error


It looks like you have installed a gcc version compiled for HPUX 11.00... It will not work well on 11.11, If you download a version compiled for 11.11 you will no longer receive that error...

The guy over at http://www.cmve.net/~merijn/ has precompiled binaries of gcc...
He who fails to plan, plans to fail.
Wai Kiong Choy
Advisor

Re: qpopper compile error

I had the some errors. If you are using GCC compiled for HPUX 11.00 then you are out-of-luck.

Use the HPUX 11i version of GCC. Download it from http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html