Re: Errors poptop compilation on Solaris 10 (sparc)

James Cameron <[email protected]>
Newsgroups gmane.network.poptop
Organization Netrek Vanilla Server Dictator
Message-ID <[email protected]>
On Mon, Mar 29, 2010 at 12:33:44PM +0200, Thomas Lassia wrote:
> 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'

The code evidently needs porting to Solaris.  You might try running
autoconf again before configure, but I'm not confident that will fix it.

Otherwise, you or someone with Solaris experience will have to work
through the C source code and change it to remove the errors, then test
the result.

-- 
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
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.