I installed fpc and lazarus on Ubuntu.
fpc using apt
lazarus, last svn
In my project I use UIB to access to a firebird DB.
I used UIB (2.1) both on windows and linux (FC6).
And it works fine.
On Ubuntu I installed without any problem UIB but if I put a JvUIBDataset on a form and try to compile the project I got an error.
I pasted the messages at the bottom of this e-mail.
The same project, one form with a JvUIBdataset is compiled without any problem on fedora.
Any hint?
Andrea

messages:

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.0.4 [2007/02/02] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling /tmp/project1.lpr
Compiling unit1.pas
Linking /tmp/project1
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__CREATE$POINTER$BOOLEAN$BOOLEAN$ANSISTRING$$TEVENTOBJECT':
syncobjs.pp:(.text+0x334): undefined reference to `sem_init'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__DESTROY':
syncobjs.pp:(.text+0x3a4): undefined reference to `sem_destroy'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__RESETEVENT':
syncobjs.pp:(.text+0x3f3): undefined reference to `sem_trywait'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__SETEVENT':
syncobjs.pp:(.text+0x44f): undefined reference to `sem_getvalue'
syncobjs.pp:(.text+0x464): undefined reference to `sem_post'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__WAITFOR$LONGWORD$$TWAITRESULT':
syncobjs.pp:(.text+0x4b7): undefined reference to `sem_wait'
syncobjs.pp:(.text+0x503): undefined reference to `sem_post'
project1.lpr(17,1) Error: Error while linking
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__CREATE$POINTER$BOOLEAN$BOOLEAN$ANSISTRING$$TEVENTOBJECT':
syncobjs.pp:(.text+0x334): undefined reference to `sem_init'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__DESTROY':
syncobjs.pp:(.text+0x3a4): undefined reference to `sem_destroy'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__RESETEVENT':
syncobjs.pp:(.text+0x3f3): undefined reference to `sem_trywait'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__SETEVENT':
syncobjs.pp:(.text+0x44f): undefined reference to `sem_getvalue'
syncobjs.pp:(.text+0x464): undefined reference to `sem_post'
/usr/lib/fpc/2.0.4/units/i386-linux/fcl/syncobjs.o: In function 
`SYNCOBJS_TEVENTOBJECT_$__WAITFOR$LONGWORD$$TWAITRESULT':
syncobjs.pp:(.text+0x4b7): undefined reference to `sem_wait'
syncobjs.pp:(.text+0x503): undefined reference to `sem_post'
project1.lpr(17,1) Error: Error while linking







Reply via email to