[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kde2 cvs kdemultimedia problem with FreeBSD 4.0
From:       "Carlos F. A. Paniago" <pan () panix ! ecof ! org ! br>
Date:       2000-04-30 17:03:06
[Download RAW message or body]

I'm compiling KDE2 (CVS) in FreeBSD 4.0 and Xfree86-4.0. I have this error
in kdemultimedia:
----
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/X11/q
t -I/usr/X11R6/include  -I/usr/local/include -DDEFAULT_PATH=\"/usr/local/share/a
pps/kmidi/config\" -DKMIDI -DAU_OSS -DIA_NCURSES -DIA_SLANG    -O2 -fno-exceptio
ns -fno-rtti -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototy
pes -Wwrite-strings -Wno-long-long -fno-builtin  -c arts_a.cpp
arts_a.cpp: In function `void arts_pipe_error(const char *)':
arts_a.cpp:143: `stderr' undeclared (first use this function)
arts_a.cpp:143: (Each undeclared identifier is reported only once
arts_a.cpp:143: for each function it appears in.)
arts_a.cpp:145: `sys_errlist' undeclared (first use this function)
arts_a.cpp:145: `fprintf' undeclared (first use this function)
gmake[3]: *** [arts_a.o] Error 1
gmake[3]: Leaving directory `/home/pan/kde2/kdemultimedia/kmidi'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/pan/kde2/kdemultimedia/kmidi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
---
We have to edit kmidi/arts_a.cpp and include in line 29 a:
---
#include <stdio.h>
---
I suppose linux did this automagicaly when we include <unistd.h> but this is
not the case with FreeBSD.

	Could some one chnage this. It will not break linux stuff and will
solve the FreeBSD problem (and probably Solaris too).

	Paniago
-- 
Nome:  Carlos Fernando Assis Paniago
Email: pan@panix.ecof.org.br		e	pan@nma.embrapa.br
Web:   http://panix.ecof.org.br/	e	http://www.nma.embrapa.br/ 
--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic