Csound Csound-dev Csound-tekno Search About

Re: more compile errors

Date1999-08-06 01:54
FromLarry Troxler
SubjectRe: more compile errors
jasonf@ivy.the-i.net wrote:
> 
> Ok, thanks to J.P. I got most of everything to compile. I actually had the
> same error in a couple of other files, so I replaced stdout to NULL in
> them as well.
> 
> Now I'm only having one slight problem. I get this:
>  ch.o getstring.o ugsc.o -lm -lbsd
> /usr/i586-pc-linux-gnu/bin/ld: cannot open -lbsd: No such file or
> directory
> collect2: ld returned 1 exit status
> make: *** [csound] Error 1
> 
> I thought that maybe some of my ldlib paths weren't set, but that doesn't
> seem to be the case. Any idea what I'm doing wrong here? Ya know, someday
> I really ought to sit down and learn C!
> 
> Thanks for the help,
> Jason

Interesting. I'm having suspiciously similar problems (also seeming
related to the BSD compatability library). I don't even get as far as
you did :

>>
make -f Makefile.linux csound
cc -O2 -DWINDOWS -DRTAUDIO -DSFIRCAM -DSYS5 -DLINUX -DPIPES -DMACROS -c
midirecv.c
midirecv.c:31: bsd/sgtty.h: No such file or directory
make: *** [midirecv.o] Error 1
<<

Perhaps it would help to know which Linux distribution(s) that the
distribution has been build-tested on. For example, I assume it has been
fixed for libc6, but is this a wrong assumption?

Larry

 
--  Larry Troxler --  lt@westnet.com  --  Patterson, NY USA  --

Date1999-08-09 18:50
FromThomas Neuhaus
SubjectRe: more compile errors
On Fri, 6 Aug 1999, Larry Troxler wrote:

in newer linux distributions, namely SuSE 6.x sgtty.h is in
/usr/inlcude so you can forget the bsd as well as you can forget the -lbsd
for the linker call

fun
Thomas

P.S.: for non-C speakers:

change 
#include
to
#include
in midirecv.h

and remove or comment out "-lbsd" in Makefile or makefile.linux


> jasonf@ivy.the-i.net wrote:
> > 

> > Now I'm only having one slight problem. I get this:
> >  ch.o getstring.o ugsc.o -lm -lbsd
> > /usr/i586-pc-linux-gnu/bin/ld: cannot open -lbsd: No such file or
> > directory
> > collect2: ld returned 1 exit status
> > make: *** [csound] Error 1
> > 
> > I thought that maybe some of my ldlib paths weren't set, but that doesn't
> > seem to be the case. Any idea what I'm doing wrong here? Ya know, someday
> > I really ought to sit down and learn C!
> > 
> > Thanks for the help,
> > Jason
> 
....

> >>
> make -f Makefile.linux csound
> cc -O2 -DWINDOWS -DRTAUDIO -DSFIRCAM -DSYS5 -DLINUX -DPIPES -DMACROS -c
> midirecv.c
> midirecv.c:31: bsd/sgtty.h: No such file or directory
> make: *** [midirecv.o] Error 1
> <<
> 



--
Thomas Neuhaus(neuhaus@folkwang.uni-essen.de) Phone (49)-201-4903-333
ICEM Institut fuer Computermusik und elektronische Medien
Folkwang-Hochschule Essen, Klemensborn 39, D-49239 Essen  
-------------------------------------------------------------------------------
UNIX _is_ user-friendly. It just knows who its friends are.