Done, since nobody else seems to take care of this. Thanks. On Sun, Apr 30, 2000 at 02:03:06PM -0300, Carlos F. A. Paniago wrote: > 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 > --- > I suppose linux did this automagicaly when we include 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/ > -- -- David FAURE, david@mandrakesoft.com, faure@kde.org http://home.clara.net/faure/ KDE, Making The Future of Computing Available Today See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2