To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54178
                  Issue #:|54178
                  Summary:|rsc/source/rscpp/makefile.mk has TARGETTHREAD=MT ?
                Component:|porting
                  Version:|680m126
                 Platform:|Macintosh
                      URL:|
               OS/Version:|FreeBSD
                   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  2 22:21:50 -0700 
2005 -------
For FreeBSD 4,
rsc/rscpp should link against -lc_r for FreeBSD 4. otherwise,
libstlport_gcc.so which claims `Undefined symbol "pthread_mutex_lock"'. 
rsc indirectly should link against -pthread via libstlport_gcc.so.

rsc -presponse @/tmp/mkdT8IKc
/usr/libexec/ld-elf.so.1: 
/work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/lib/
libstlport_gcc.so: Undefined symbol "pthread_mutex_lock"
VCL Resource Compiler 3.0
Preprocessor commandline:  -I. -I. -I. -I../inc -I../../inc -I../../unx/inc 
-I../../unxfbsd.pro/inc -I. -I/
work/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/stl 
-I/work/ports/
editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/external 
-I/work/ports/editors/
openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc 
-I/work/ports/editors/openoffice-2.0-devel/
work/solenv/unxfbsd/inc 
-I/work/ports/editors/openoffice-2.0-devel/work/solenv/inc -I/work/ports/
editors/openoffice-2.0-devel/work/res 
-I/work/ports/editors/openoffice-2.0-devel/work/solver/680/
unxfbsd.pro/inc/stl 
-I/work/ports/editors/openoffice-2.0-devel/work/solenv/inc/Xp31 -I/usr/local/
jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd 
-I/usr/local/jdk1.4.2/include/bsd -I/usr/local/
jdk1.4.2/include/native_threads/include -I/usr/X11R6/include -I. -I../../res 
-I. -DUNX -DVCL -DGCC -
DC300 -DSUPD=680 -DSOLAR_JAVA -DPRODUCT -DPRODUCT_FULL -DNDEBUG -
DOSL_DEBUG_LEVEL=0 -DUPDVER="680m121(Build:8939)" 
../../unxfbsd.pro/misc/svsrc/images.src /
var/tmp/8yqh5S
Preprocessor startline:  rscpp @/var/tmp/7I3r5B
Error starting preprocessor
dmake:  Error code 1, while making '../../unxfbsd.pro/srs/svsrc.srs'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/work/ports/editors/openoffice-2.0-devel/work/vcl/
source/srcs/editors/openoffice-2.0-devel/work/ucb/source/ucp/file        

namely
rsc/rscpp should link against -lc_r for FreeBSD 4. otherwise,
libstlport_gcc.so which claims `Undefined symbol "pthread_mutex_lock"'. 
rsc indirectly should link against -pthread via libstlport_gcc.so.

A fix for this is following:
Index: rsc/source/rscpp/makefile.mk
===============================================================
====
RCS file: /cvs/gsl/rsc/source/rscpp/makefile.mk,v
retrieving revision 1.4
diff -u -r1.4 makefile.mk
--- rsc/source/rscpp/makefile.mk        14 Dec 2004 14:36:47 -0000      1.4
+++ rsc/source/rscpp/makefile.mk        11 Aug 2005 13:20:46 -0000
@@ -62,7 +62,7 @@
 PRJ=..$/..
 
 TARGETTYPE=CUI
-TARGETTHREAD=ST
+TARGETTHREAD=MT
 
 PRJNAME=rsc
 TARGET=rscpp

anyway, why TARGETTHREAD should be ST (seems to be abbreviation of single 
thread)?
do you think this change does affect the build?

---------------------------------------------------------------------
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