| Version 9 (modified by andreasf, 7 years ago) (diff) |
|---|
Common Porting Problems
This page serves to collect information about common problems encountered when porting applications/libraries to the BeOS platform. The problems should be identified by the (compiler) errors that typify them.
Information about BeOS's POSIX compatibility, see BeOSPosix.
no undefined references allowed in i586-pc-beos shared libraries
ports: dev-util/subversion, dev-libs/apr
You need to pass the -no-undefined option to libtool
Alternatively, libtool can be patched to always exhibit this behavior, at the risk of breaking static compilation when dynamic linking fails. -- andreasf
(stat) structure has no member named `st_blocks'
ports: app-arch/tar (make check), net-fs/samba?
The stat struct in sys/stat.h in BeOS doesn't have an st_blocks member. In projects with autoconf, you can check for HAVE_STAT_ST_BLOCKS.
http://lists.samba.org/archive/samba-technical/2005-January/039275.html
