To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69418
                 Issue #|69418
                 Summary|FreeBSD porting : gethostbyname_r in moz project
               Component|porting
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|maho





------- Additional comments from [EMAIL PROTECTED] Fri Sep  8 22:35:09 -0700 
2006 -------
With 6-STABLE (__FreeBSD_version >= 601103), ooo build fails like:

/work/ports/editors/openoffice.org-2.0/work/OOD680_m3/solenv/bin/checkdll.sh
-L../../../unxfbsdi.pro/lib -L../lib
-L/work/ports/editors/openoffice.org-2.0/work/OOD680_m3/solenv/unxfbsdi/lib
-L/work/ports/editors/openoffice.org-2.0/work/OOD680_m3/solver/680/unxfbsdi.pro/lib
-L/work/ports/editors/openoffice.org-2.0/work/OOD680_m3/solenv/unxfbsdi/lib
-L/usr/local/diablo-jdk1.5.0/lib -L/usr/local/diablo-jdk1.5.0/jre/lib/i386
-L/usr/local/diablo-jdk1.5.0/jre/lib/i386/client
-L/usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../../unxfbsdi.pro/lib/check_libmozabdrv2.so
Checking DLL ../../../unxfbsdi.pro/lib/check_libmozabdrv2.so ...Fatal error
'Spinlock called
when not threaded.' at line 87 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped)
dmake:  Error code 1, while making '../../../unxfbsdi.pro/lib/libmozabdrv2.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/work/ports/editors/openoffice.org-2.0/work/OOD680_m3/connectivity/source/drivers/mozab
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255

it was due to libmozabdrv2.so links against libc_r.so.
...
(configure stage of mozilla)
checking for mmintrin.h... no
checking for new... yes
checking for sys/cdefs.h... yes
checking for gethostbyname_r in -lc_r... yes <-- this is the problem

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to