1846873 Members
2629 Online
110256 Solutions
New Discussion

Re: Problem with Proftpd

 
Juergen Gugau
New Member

Problem with Proftpd

Hello,

i want to compile the proftpd v 1.3.0.a on a HPUX
11.00 box.

The configure script works fine.

When i start the make command i got this error.
root # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
cc -DHAVE_CONFIG_H -DHPUX11_00 -DHPUX11 -I.. -I../include -g -c pr_fnm
atch.c
cc: "/usr/include/sys/socket.h", line 171: error 1000: Unexpected symbol: "int".
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

What can i do now ?
How can i fix this failure?

Best Regards juergen
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Problem with Proftpd

Shalom,

I think the code base you are using is designed for PA-RISC 2.0. HP-UX 11.00 runs PA-RISC 1.1

I'm not sure you can successfully compile that on HP-UX 11.00 which is one month past end of support.

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
Heironimus
Honored Contributor

Re: Problem with Proftpd

At the source code level it shouldn't really matter which PA architecture you're on unless it's using inline assembly, and that message doesn't look like that kind of error.

Do you have the full HP ANSI C compiler or just the bundled compiler? The HP bundled compiler probably won't compile any modern software. If you're not licensed for the ANSI compiler you could try gcc instead.