1827448 Members
5321 Online
109965 Solutions
New Discussion

qpopper make error

 
Edward Alfert_1
Occasional Advisor

qpopper make error

i'm trying to install qpopper version 4 from source. I looked for a precompiled version but found a very old version only (http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/qpopper-2.53/)

when i issued the make command i get the following:

cd ./popper && make all
/opt/gcc/bin/gcc -c -I.. -I.. -I. -I../mmangle -I../common -g -O2 -DHAVE_CONFIG_H -DHPUX -DSPEC_POP_AUTH -DUNIX pop_dele.c
-o pop_dele.o
In file included from pop_dele.c:24:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `
__va__list' redefined
/usr/include/sys/stdsyms.h:422: warning: this is the location of the previous de
finition
In file included from pop_dele.c:25:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28: warning:
`__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: t
his is the location of the previous definition
In file included from popper.h:62,
from pop_dele.c:29:
/usr/include/sys/socket.h:439: parse error before `sendfile'
/usr/include/sys/socket.h:439: parse error before `bsize_t'
/usr/include/sys/socket.h:440: warning: data definition has no type or storage c
lass
/usr/include/sys/socket.h:441: parse error before `sendpath'
/usr/include/sys/socket.h:441: parse error before `bsize_t'
/usr/include/sys/socket.h:442: warning: data definition has no type or storage c
lass
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Do what you love and you will never work a day in your life. - Confucious
3 REPLIES 3
Thomas Schler_1
Trusted Contributor

Re: qpopper make error

Hi Edward,

the first part of your output contains some warning messages that normally could
be neglected if make would come to its normal end.

Error messages are listed on the second part. There may be some syntax errors that lead to break the make process.

Possible causes are real syntax errors (less probable), or others:

-) Check if you are using the latest version of gcc (not an old one).

-) Check if the paths that are listed in Makefile are really accessible on your system.

-) ...

But maybe the best way is to get the newest qpopper version. The link you had given does not work. Try this: http://www.eudora.com/qpopper/
no users -- no problems
Edward Alfert_1
Occasional Advisor

Re: qpopper make error

i think i have the latest gcc because when i do "#gcc -v" i get:
Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/specs
gcc version 2.95.3 20010315 (release)

and i also have binutils installed.

the link was for the only binary that i found and i don't want to use it because it is too old. So i donwloaded the source from www.eudora.com/qpopper

I checked the directories it was using in Makefile and they all look good.

Any other things i should check would be greatly appreciated.
Do what you love and you will never work a day in your life. - Confucious
Thomas Schler_1
Trusted Contributor

Re: qpopper make error

Hi Edward,

calling gcc you are using the options -g (debugging option) and -O2 (optimization option). Normally, you should not use these options at the same time because they are mutually exclusive. Try to not use the -O2 option.

Many programs are written in ANSI standard, maybe qpopper, too. Therefore, try to use the gcc option "-ansi".

Furthermore, I would have a look on the installation hints on qpopper-2.53 available at http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/qpopper-2.53/. Read qpopper/qpopper-RUN/opt/qpopper/doc/HPUX.Install. Maybe, the installation procedure did not change dramatically, so that you are able to get new hints on installing the newer qpopper version 4.

Regards
Thomas
no users -- no problems