Csound Csound-dev Csound-tekno Search About

sparc compile troubles

Date1997-12-08 15:25
Fromjames@maths.ex.ac.uk
Subjectsparc compile troubles
From: spore! 
Message-Id: <199711192014.MAA29358@biteme.psibercom.org>
Subject: Compile trouble for ultra, solaris2.6
To: csound (Csound)
Date: Wed, 19 Nov 1997 12:14:33 -0800 (PST)
X-Time-Sync: psibercom time sync by xntp3-5.90
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hey folks,

having some trouble compiling for the Ultra with 2.6.  I'm using gcc and
the Makefile wants to stick on the '-fsingle' flag, but gcc doesn't take
that option.  is there a good substitute?

So I commented-out that option and got this far:

gcc -O2 -I/usr/demo/SOUND -I/usr/demo/SOUND/include -DWINDOWS -DRTAUDIO
-DSFSUN41 -Dsun    -c midirecv.c -o midirecv.o
In file included from midirecv.c:1:
cs.h:32: warning: `PMASK' redefined
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/param.h:97: 
warning: this is the location of the previous definition
midirecv.c: In function `MidiOpen':
midirecv.c:206: invalid use of undefined type `struct sgttyb'
midirecv.c:207: invalid use of undefined type `struct sgttyb'
midirecv.c:208: invalid use of undefined type `struct sgttyb'
midirecv.c:208: `O_TANDEM' undeclared (first use this function)
midirecv.c:208: (Each undeclared identifier is reported only once
midirecv.c:208: for each function it appears in.)
midirecv.c:208: `O_ECHO' undeclared (first use this function)
midirecv.c:208: `O_CRMOD' undeclared (first use this function)
midirecv.c:208: `O_ANYP' undeclared (first use this function)
midirecv.c:209: invalid use of undefined type `struct sgttyb'
midirecv.c:209: `RAW' undeclared (first use this function)
midirecv.c: At top level:
midirecv.c:26: storage size of `tty' isn't known
make: *** [midirecv.o] Error 1



...the "`PMASK' redefined" warning shows up on every compile in the make.
But the hard errors elude me...I'm no compiling whiz.  

Anyone compiled for Ultra?  2.5.1?  2.6?  thanks!

-- 
-----------------------------------------------------------------------------
Matthew at psibercom					spore@psibercom.org
                 + Nyquist Theory and Soul Management +