Errors poptop compilation on Solaris 10 (sparc)

Thomas Lassia <[email protected]>
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
Hi all!

I tried to install poptop server on Solaris 10 (Sparc) and I got some 
troubles during the compilation.

Dowloaded and installed :
ppp-2.4.5 

OS : Solaris 10u8
Arch: sparc - 64 bits

I saw some explanations but nothing help me to fix my problem:
http://marc.info/?l=poptop-server&w=2&r=1&s=solaris&q=b
https://sourceforge.net/projects/poptop/forums/forum/146880/topic/1077642


I know there are some patches required for linux installations :
    linux-2.4.19-openssl-0.9.6b-mppe.patch
    ppp-2.4.1-openssl-0.9.6-mppe-patch
But what do I need to install for solaris ?

The "./configure" worked fine but not the "make"
Here the compilation troubles :
[root@srv1 pptpd-1.3.4]#make
make  all-am
make[1]: Entering directory `/usr/share/src/pptpd-1.3.4'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c pptpd.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c configfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c pptpmanager.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c compat.c
compat.c: In function `openpty':
compat.c:65: attention : déclaration implicite de la fonction « strcpy »
compat.c:75: attention : déclaration implicite de la fonction « close »
compat.c: In function `sigpipe_assign':
compat.c:177: attention : déclaration implicite de la fonction « memset »
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c inststr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c getopt1.c
gcc  -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"'   -o pptpd  
pqueue.o pptpd.o configfile.o pptpmanager.o compat.o inststr.o getopt.o 
getopt1.o  -lsocket -lnsl
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c pptpctrl.c
pptpctrl.c: In function 'startCall':
pptpctrl.c:571: warning: implicit declaration of function 'openpty'
pptpctrl.c:576: error: storage size of 'tios' isn't known
pptpctrl.c:581: warning: implicit declaration of function 'tcgetattr'
pptpctrl.c:586: error: 'ECHO' undeclared (first use in this function)
pptpctrl.c:586: error: (Each undeclared identifier is reported only once
pptpctrl.c:586: error: for each function it appears in.)
pptpctrl.c:586: error: 'ECHONL' undeclared (first use in this function)
pptpctrl.c:587: warning: implicit declaration of function 'tcsetattr'
pptpctrl.c:587: error: 'TCSAFLUSH' undeclared (first use in this function)
pptpctrl.c:576: warning: unused variable 'tios'
make[1]: *** [pptpctrl.o] Error 1
make[1]: Leaving directory `/usr/share/src/pptpd-1.3.4'

make: *** [all] Error 2


Thanks for your help!



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.