To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89921
                 Issue #|89921
                 Summary|oox: oox/source/token/makefile.mk not parallel dmake s
                        |afe
               Component|Word processor
                 Version|DEV300m13
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|hbrinkm
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Sun May 25 10:08:54 +0000 
2008 -------
I got 
/usr/src/redhat/BUILD/DEV300_m14/oox/source/token/tokenmap.cxx: In member
function ‘virtual sal_Int32 oox::FastTokenHandler::getToken(const 
rtl::OUString&)’:
/usr/src/redhat/BUILD/DEV300_m14/oox/source/token/tokenmap.cxx:94: error:
‘Perfect_Hash’ has not been declared
/usr/src/redhat/BUILD/DEV300_m14/oox/source/token/tokenmap.cxx:95: error:
invalid use of incomplete type ‘struct oox::xmltoken’
from my build and my tokens.hxx was empty. I believe this is because the
makefile.mk rules led dmake into running parallel gentoken.pl instances and they
clobbered eachother, i.e.

rm ../../unxlngi6.pro/inc/token* ../../unxlngi6.pro/misc/tokens.gperf
dmake -P10
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx
../../unxlngi6.pro/inc/tokenwords.inc ../../unxlngi6.pro/misc/tokens.gperf
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx
../../unxlngi6.pro/inc/tokenwords.inc ../../unxlngi6.pro/misc/tokens.gperf
/usr/bin/perl gentoken.pl tokens.txt ../../unxlngi6.pro/inc/tokens.hxx
../../unxlngi6.pro/inc/tokenwords.inc ../../unxlngi6.pro/misc/tokens.gperf
-------------
gperf --compare-strncmp ../../unxlngi6.pro/misc/tokens.gperf | sed -e
"s/(char\*)0/(char\*)0, 0/g" >../../unxlngi6.pro/inc/tokens.inc
Key link: "n" = "n", with key set "no".

i.e on gentoken.pl for each entry listed in

$(INCCOM)$/tokens.hxx $(INCCOM)$/tokenwords.inc $(MISC)$/tokens.gperf :
tokens.txt gentoken.pl
                $(PERL) gentoken.pl tokens.txt $(INCCOM)$/tokens.hxx
$(INCCOM)$/tokenwords.inc $(MISC)$/tokens.gperf

I know it has multiple output files, but I think the following patch will do the
right thing to just pick one of the outputs as the target and let the others be
implicit off that to avoid dmake trying to run the same command to create all
three outputs in a parallel situation but I'm not makefile.mk expert

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