[fpc-devel]BeOS compiling problem
olivier.coursiere at laposte.net
Mon Apr 7 23:33:52 CEST 2003
> > When i use "make beoszip" under BeOS with the latest 1.0.7 sources
> > (CVS), i have this message :
> > ...
> > /boot/test/fpc/107/fpc/compiler/ppc386 -Xs -OG2p3 -n -S2
> > -Fu/boot/test/ fpc/107/fpc/rtl/beos
> > -Fu/boot/test/fpc/107/fpc/packages/base/paszlib - Fibeos -Fiinc
> > -FEbeos -Fl/boot/develop/tools/gnupro/lib/gcc-lib/i586-
> > beos/2.9-beos-991026 -di386 -dRELEASE inc/eventlog.pp
> > eventlog.pp(112,2) Fatal: Can't open include file eventlog.inc
> > make: *** [eventlog.ppu] Error 1 make: Leaving directory
> > `/boot/test/fpc/107/fpc/fcl' make: *** [fcl_all] Error 2
> > make:
> > Leaving directory `/boot/test/fpc/107/fpc' make: ***
> > [build-stamp.beos] Error 2 make: Leaving directory
> > `/boot/test/fpc/107/fpc' make: *** [beoszip] Error 2
> > This command used to work a few weeks ago. Maybe a path problem in
> > makefiles.
> a new unit (eventlog) has been added to fcl, but it hasn't been
> adapted for the BeOS target. It's basically copying the right include
> file to the beos directory in fcl. The main question is - does BeOS
> support Unix syslog?
Yes, BeOS support Unix syslog (syslog.h). Copying the Unix eventlog.inc
solve the compilation problem. But some BeOS specific part are needed.
For example, 'libc' is named 'libroot' under BeOS.
Some tests are also needed to ensure it works but i am not really
comfortable with syslogs :)
Is there a test suite somewhere to test this feature ? Maybe not as it
is a recent feature ;-)
More information about the fpc-devel