RE: soltools need(s) to be rebuilt
Many of those projects have RTTI or C++ exceptions disabled, so problems with typeinfo visibility may not show up there. I have figured out that I need to use GCC with the Solaris linker to avoid all these problems. BTW, the GCC people suggest people who use their compiler on Solaris to avoid using the GNU linker. So when I switched to the Solaris linker, all these problems disappeared. So the file solenv/gbuild/platform/solaris.mk need to modified in order to compile with GCC. As it stands, it assumes the compilation on Solaris is done using Solaris Studio! They certainly will be. I'm looking forward to have unxsogi as a platform with an out of the box build experience again. Me too :-) A.S. -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
γειά σου Απόστολος, I have to admit that I have no clue about libxmlsec's detailed configure requirements, so I'm afraid I can't help here much. But with the knowledge that licrypto comes from openssl, with libxmlsec complaining about the one openssl is providing maybe some changed linker or build options could suffice. I'm sure you're on the right track with the unxsogi.mk changes you suggest below. Finally, I have managed to build the library. Whether it is a good one, this is something that I will discover when I will finish. You are making great progress! Congratulations! Now I have another problem. When compiling cppu I I get the following error message: Entering /extra/sources/OpenOffice/aoo4/main/cppu/util dmake: /extra/sources/OpenOffice/aoo4/main/solenv/inc/target.mk: line 545: Warning: -- Macro `SHL2TARGETN' redefined after use I'm no expert on these makefiles, but the $(SHL2TARGETN) target there looks redundant because it is usually already defined in main/solenv/inc/_tg_shl.mk and the SHL2TARGETN define is done in main/solenv/inc/target.mk If the one defined in the main/cppu/util/makefile.mk just redefines whats already there maybe it can be safely removed. On the other hand make just warns about it. Does the build really break here? [...] dmake: Error: -- `uno_purpenvhelper.map' not found, and can't be made The purpenvhelper.map is another piece of black magic that I know not much about. People knowing more about it are invited to join... What I know about it is that it limits the symbol exports of that particular library to basically only one function: cppu::helper::purpenv::Environment_initWithEnterable( uno_Environment*, cppu::Enterable *); I wouldn't be surprised if exporting all the symbols of this library would work just as well. The reduction of the exported symbols to just the method mentioned above and its parameter types may just be cosmetic. Again: experts on this topic are invited to join. [...] Of course there is no uno_purpenvhelper.map file. The code that is responsible for this is inside main/cppu/util/makefile.mk: [...] SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map In main/cppu/source/helper/purpenv/export.mk there is a similar line and there seems to be a heck of a lot of cleanup potential :-/ Makefile experts are invited... From the error message mentioning uno_purpenvhelper.map and the recipe above I see that the COMID define is apparently not set. AFAIK it is supposed to be set in main/solenv/inc/tg_compv.mk. Maybe one of the many conditions in there needs to be tweaked for your platform. If you are building with gcc then COMID should probably be gcc3 and with a little bit of luck the already existing uno_purpenvhelpergcc3.map file may already work. Hope that helps, Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: soltools need(s) to be rebuilt
Dear Herbert, I have to admit that I have no clue about libxmlsec's detailed configure requirements, so I'm afraid I can't help here much. But with the knowledge that licrypto comes from openssl, with libxmlsec complaining about the one openssl is providing maybe some changed linker or build options could suffice. I'm sure you're on the right track with the unxsogi.mk changes you suggest below. Finally, I have managed to build the library. Whether it is a good one, this is something that I will discover when I will finish. Now I have another problem. When compiling cppu I I get the following error message: Entering /extra/sources/OpenOffice/aoo4/main/cppu/util dmake: /extra/sources/OpenOffice/aoo4/main/solenv/inc/target.mk: line 545: Warning: -- Macro `SHL2TARGETN' redefined after use Compiling: cppu/unxsogi.pro/misc/uno_cppu_version.c Compiling: cppu/unxsogi.pro/misc/uno_purpenvhelper_version.c Making:libuno_cppu.so.3 dmake: Error: -- `uno_purpenvhelper.map' not found, and can't be made Under main/cppu/util I see the following .map files: cppu.map uno_purpenvhelperC52.map uno_purpenvhelperwntgcc.map purpenvhelper3MSC.map uno_purpenvhelpergcc3.map unsafe_os2.map Of course there is no uno_purpenvhelper.map file. The code that is responsible for this is inside main/cppu/util/makefile.mk: SHL2TARGET := $(NAMEpurpenv_helper) DEF2NAME:= $(SHL2TARGET) .IF $(GUI)$(COM)==WNTGCC SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map .ELIF $(GUI)==OS2 SHL2VERSIONMAP:=uno_purpenvhelperwntgcc.map .ELSE SHL2VERSIONMAP:=$(SHL2TARGET).map -- We are here .ENDIF # $(GUI)$(COM)==WNTGCC SHL2DEF := $(MISC)$/$(SHL2TARGET).def Do you or anybody else have any idea which is the correct file to use? Regards, Apostolos -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
Hi Απόστολος, On 04.12.2013 21:28, Απόστολος Συρόπουλος wrote: I am still struggling... Now I was trying to build libxmlsec and the configuration parameters did not give the expected result. I had to enter manually the following command ./configure ADDCFLAGS= CPPFLAGS= --with-pic --disable-shared --disable-crypto-dl --with-libxslt=no --with-openssl=no --with-gnutls=no LIBXML2LIB=-lxml2 --enable-pkgconfig=no --with-openssl=/usr --with-nss=/extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro --with-nspr=/extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro in order to build the libraries. Is this OK? Did it build with these configure options? Except for the minor nit that --with-openssl is set twice, it looks good to me. The option has been set as no and as /usr, but AFAIK the no should win. There is a libcrypto.a in /extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro/lib but this cannot be used to build a shared object (at least that's what the linkers say). That libcrypto.a comes from openssl and if libxmlsec was configured with the --with-openssl=no option it shouldn't be needed anyway. Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: soltools need(s) to be rebuilt
Hello Herbert, Did it build with these configure options? Except for the minor nit that --with-openssl is set twice, it looks good to me. The option has been set as no and as /usr, but AFAIK the no should win. The problem is that when configuring without the /usr value, the configure script stops and complains that there is no libcrypto! There is a libcrypto.a in /extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro/lib but this cannot be used to build a shared object (at least that's what the linkers say). That libcrypto.a comes from openssl and if libxmlsec was configured with the --with-openssl=no option it shouldn't be needed anyway. Sounds quite reasonable but the configure script, as I have mentioned above, complains. Now. I am building using the unxsogi.mk file. This is something the building tools have chosen. However, I have noticed that this file does not contain any LINKFLAGSRUNPATH variables and so when building idlc, I get the following error: Making:idlc unx /opt/gnu/bin/gld: warning: libstore.so.3, needed by /extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro/lib/libreg.so, not found (try using -rpath or -rpath-link) I feel that unxsogi.mk is incomplete but then again I might be wrong. I have added the following lines in this file LINKFLAGSRUNPATH_URELIB=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' LINKFLAGSRUNPATH_UREBIN=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' #LINKFLAGSRUNPATH_UREBIN=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\' #TODO: drop $ORIGIN once no URE executable is also shipped in OOo LINKFLAGSRUNPATH_OOO=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' LINKFLAGSRUNPATH_SDK=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' LINKFLAGSRUNPATH_BRAND=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' #LINKFLAGSRUNPATH_OOO=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' #LINKFLAGSRUNPATH_SDK=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\' #LINKFLAGSRUNPATH_BRAND=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' LINKFLAGSRUNPATH_OXT= LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\' #LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\' LINKFLAGSRUNPATH_NONE= but I guess I need to reconfigure so this lines will be used in the building process, right? Best regards, Apostolos
RE: soltools need(s) to be rebuilt
Hello, I am still struggling... Now I was trying to build libxmlsec and the configuration parameters did not give the expected result. I had to enter manually the following command ./configure ADDCFLAGS= CPPFLAGS= --with-pic --disable-shared --disable-crypto-dl --with-libxslt=no --with-openssl=no --with-gnutls=no LIBXML2LIB=-lxml2 --enable-pkgconfig=no --with-openssl=/usr --with-nss=/extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro --with-nspr=/extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro in order to build the libraries. Is this OK? There is a libcrypto.a in /extra/sources/OpenOffice/aoo4/main/solver/410/unxsogi.pro/lib but this cannot be used to build a shared object (at least that's what the linkers say). Regards, A.S. -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
On 01.12.2013 20:26, Απόστολος Συρόπουλος wrote: After reading the reply by jan I. I decided to try again with GCC. Now, compilation proceeds with no stupid problems as before. BTW, main/soltools/adjustvisibility/adjustvisibility.c does not compile with g++ but it compiles with CC so this is the only thing I had to do manually. However, now compilation stops as follows: [...] : ERROR: ld.so.1: checkdll: fatal: relocation error: file ../unxsogi.pro/lib/check_libuno_sal.so.3: symbol osl_isSingleCPU: referenced symbol not found [...] I see that file interlck_x86.s is old... but I have no idea why linking fails. Any ideas and/or suggestions? I suggest to look into main/sal/osl/unx/util.c. The check for a __SUNPRO_C define in line 316 looks suspicious. Is this define still active in newer compilers for your platform? If not please change the check so that this part of the code becomes active. You also said you switched compilers. Please make sure that there are no object files around that were build for the other compiler. Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: soltools need(s) to be rebuilt
Hello again, I have downloaded the source code and I have reconfigured etc. What I have observed so far is that there are a number of utilities that consist of C and C++ source files. In all these cases, the build script uses the C compile and so obviously it fails to build the object files. For example, = Building module soltools = Entering /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend mkout -- version: 1.8 Compiling: soltools/mkdepend/cppsetup.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/ifparser.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/include.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/main.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/parse.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored parse.c, line 43: warning: identifier redeclared: find_includes current : function() returning int previous: function(pointer to struct filepointer {pointer to char f_p, pointer to char f_base, pointer to char f_end, long f_len, long f_line}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, int, unsigned char, pointer to struct IncludesCollection {}, pointer to struct symhash {array[64] of pointer to struct pair {..} s_pairs}) returning int : def.h, line 169 parse.c, line 43: warning: Prototype mismatch in arg 5 for function find_includes: function : old style declaration unsigned char promoted to int prototype: unsigned char Compiling: soltools/mkdepend/pr.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored pr.c, line 42: warning: identifier redeclared: add_include current : function() returning void previous: function(pointer to struct filepointer {pointer to char f_p, pointer to char f_base, pointer to char f_end, long f_len, long f_line}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to char, unsigned char, unsigned char, pointer to struct IncludesCollection {}, pointer to struct symhash {array[64] of pointer to struct pair {..} s_pairs}) returning void : def.h, line 176 pr.c, line 42: warning: Prototype mismatch in arg 5 for function add_include: function : old style declaration unsigned char promoted to int prototype: unsigned char pr.c, line 42: warning: Prototype mismatch in arg 6 for function add_include: function : old style declaration unsigned char promoted to int prototype: unsigned char Compiling: soltools/mkdepend/collectdircontent.cxx /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 6: Error: Could not open include fileset. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 7: Error: Could not open include filemap. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 8: Error: Could not open include filestring. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 17: Error: Could not open include fileiostream. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 21: Warning: Implicit int is not supported in C++. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 21: Error: Template set is not defined. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 22: Warning:
Re: soltools need(s) to be rebuilt
On 1 December 2013 15:44, Απόστολος Συρόπουλος asyropoulos...@hotmail.comwrote: Hello again, I have downloaded the source code and I have reconfigured etc. What I have observed so far is that there are a number of utilities that consist of C and C++ source files. In all these cases, the build script uses the C compile and so obviously it fails to build the object files. For example, = Building module soltools = Entering /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend mkout -- version: 1.8 Compiling: soltools/mkdepend/cppsetup.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored This can be something as simple as your cc not supporting --features. You have to look at the actual cc statement (it copied to stdout), to get an idea whats wrong. Compiling: soltools/mkdepend/ifparser.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/include.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/main.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored Compiling: soltools/mkdepend/parse.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored parse.c, line 43: warning: identifier redeclared: find_includes current : function() returning int previous: function(pointer to struct filepointer {pointer to char f_p, pointer to char f_base, pointer to char f_end, long f_len, long f_line}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, int, unsigned char, pointer to struct IncludesCollection {}, pointer to struct symhash {array[64] of pointer to struct pair {..} s_pairs}) returning int : def.h, line 169 parse.c, line 43: warning: Prototype mismatch in arg 5 for function find_includes: function : old style declaration unsigned char promoted to int prototype: unsigned char This is normally caused be wrong compiler options, or an unsupported compiler. To me it looks at if you should change your ./configure statement. Look in wiki.openoffice.org for different options. Compiling: soltools/mkdepend/pr.c cc: Warning: illegal use of -features option, illegal item ignored: rvalueref cc: Warning: illegal use of -features option, empty value ignored pr.c, line 42: warning: identifier redeclared: add_include current : function() returning void previous: function(pointer to struct filepointer {pointer to char f_p, pointer to char f_base, pointer to char f_end, long f_len, long f_line}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to struct inclist {pointer to char i_incstring, pointer to char i_file, pointer to pointer to struct inclist {..} i_list, int i_listlen, unsigned char i_defchecked, unsigned char i_notified, unsigned char i_marked, unsigned char i_searched, unsigned char i_included_sym}, pointer to char, unsigned char, unsigned char, pointer to struct IncludesCollection {}, pointer to struct symhash {array[64] of pointer to struct pair {..} s_pairs}) returning void : def.h, line 176 pr.c, line 42: warning: Prototype mismatch in arg 5 for function add_include: function : old style declaration unsigned char promoted to int prototype: unsigned char pr.c, line 42: warning: Prototype mismatch in arg 6 for function add_include: function : old style declaration unsigned char promoted to int prototype: unsigned char Compiling: soltools/mkdepend/collectdircontent.cxx /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 6: Error: Could not open include fileset. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 7: Error: Could not open include filemap. /extra/sources/OpenOffice/aoo4/main/soltools/mkdepend/collectdircontent.hxx, line 8: Error: Could not open
RE: soltools need(s) to be rebuilt
After reading the reply by jan I. I decided to try again with GCC. Now, compilation proceeds with no stupid problems as before. BTW, main/soltools/adjustvisibility/adjustvisibility.c does not compile with g++ but it compiles with CC so this is the only thing I had to do manually. However, now compilation stops as follows: Entering /extra/sources/OpenOffice/aoo4/main/sal/osl/unx tr -d \015 asm/interlck_x86.s ../../unxsogi.pro/misc/interlck_x86.s /usr/bin/gas -o ../../unxsogi.pro/obj/interlck.o ../../unxsogi.pro/misc/interlck_x86.s touch ../../unxsogi.pro/obj/interlck.obj Making:cpposl.lib /usr/bin/gas -o ../../unxsogi.pro/slo/interlck.o ../../unxsogi.pro/misc/interlck_x86.s touch ../../unxsogi.pro/slo/interlck.obj Making:cpposl.lib dmake: Warning: -- Target [../../unxsogi.pro/misc/s_interlck.dpcc] was made but the time stamp has not been updated. dmake: Warning: -- Target [../../unxsogi.pro/misc/o_interlck.dpcc] was made but the time stamp has not been updated. Entering /extra/sources/OpenOffice/aoo4/main/sal/textenc Entering /extra/sources/OpenOffice/aoo4/main/sal/osl/all Entering /extra/sources/OpenOffice/aoo4/main/sal/util Making:sal.lib Making:asal.lib Making:libsal.a ar: creating ../unxsogi.pro/lib/libsal.a Making:libuno_sal.so.3 : ERROR: ld.so.1: checkdll: fatal: relocation error: file ../unxsogi.pro/lib/check_libuno_sal.so.3: symbol osl_isSingleCPU: referenced symbol not found dmake: Error code 1, while making '../unxsogi.pro/lib/libuno_sal.so.3' 1 module(s): sal need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /extra/sources/OpenOffice/aoo4/main/sal/util When you have fixed the errors in that module you can resume the build by running: build --all:sal I see that file interlck_x86.s is old... but I have no idea why linking fails. Any ideas and/or suggestions? Rgds, A.S. -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
On 28.11.2013 18:31, Απόστολος Συρόπουλος wrote: [...] I am proceeding slowly now since many things fail and I have to do them manually. For example, the following fails configure: configuring in CoinUtils configure: running /bin/sh './configure' --prefix=/extra/sources/OpenOffice/aoo-4.0.1/ext_libraries/coinmp/unxsoli4.pro/misc/build/CoinMP-1.6.0 '--disable-pkg-config' '--disable-bzlib' '--disable-zlib' 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' --cache-file=/dev/null --srcdir=. simply because 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' should be 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' I cross my fingers and I proceed. The quoted -features=rvalueref compiler option is probably caused by the ARCH_FLAGS define in main/solenv/inc/unxsoli4.mk I suggest to unquote it. But why did it work for others? Did dmake unquote automatically at one time? Herbert - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: soltools need(s) to be rebuilt
The quoted -features=rvalueref compiler option is probably caused by the ARCH_FLAGS define in main/solenv/inc/unxsoli4.mk I suggest to unquote it. But why did it work for others? Did dmake unquote automatically at one time? I have no idea :-( However, I have managed to go further and now compilation stops at build --all:moz I see the following error message: mkdir: αδύνατη η δημιουργία καταλόγου «./unxsoli4.pro/misc/build/mozilla/I_objdir»: File exists cat: ./config/build_number: No such file or directory cat: ./config/build_number: No such file or directory /opt/gnu/bin/make export make[1]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir' cat: ./config/build_number: No such file or directory rm -f -rf /sdk /opt/gnu/bin/make -C config export make[2]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config' cat: ../config/build_number: No such file or directory make[3]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend' cat: ../../config/build_number: No such file or directory cppsetup.c o host_cppsetup. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/cppsetup.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_cppsetup.' failed make[3]: [host_cppsetup.] Error 127 (ignored) ifparser.c o host_ifparser. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/ifparser.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_ifparser.' failed make[3]: [host_ifparser.] Error 127 (ignored) include.c o host_include. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/include.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_include.' failed make[3]: [host_include.] Error 127 (ignored) main.c o host_main. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/main.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_main.' failed make[3]: [host_main.] Error 127 (ignored) parse.c o host_parse. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/parse.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_parse.' failed make[3]: [host_parse.] Error 127 (ignored) pr.c o host_pr. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/pr.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_pr.' failed make[3]: [host_pr.] Error 127 (ignored) o mkdepend -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ host_cppsetup. host_ifparser. host_include. host_main. host_parse. host_pr. make[3]: o: Command not found ../../../config/rules.mk:860: recipe for target 'mkdepend' failed make[3]: [mkdepend] Error 127 (ignored) make[3]: Leaving directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend' rm -f nfspwd cp ../../config/nfspwd.pl nfspwd chmod +x nfspwd rm -f revdepth cp ../../config/revdepth.pl revdepth chmod +x revdepth /opt/gnu/perl5/5.16.3/bin/perl -I../../config ../../config/bdate.pl build_number rm -f nsBuildID.h /opt/gnu/perl5/5.16.3/bin/perl -I../../config ../../config/aboutime.pl -m ../../config/milestone.txt nsBuildID.h build_number ../../config/nsBuildID.h.in nsinstall -m 644 nsBuildID.h ../mozilla-config.h ../../config/nsStaticComponents.h /include nsinstall: mkdirs cannot make /include: Permission denied Makefile:105: recipe for target 'export' failed make[2]: *** [export] Abort (core dumped) make[2]: Leaving directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir/config' Makefile:455: recipe for target 'export' failed make[1]: *** [export] Error 2 make[1]: Leaving directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/unxsoli4.pro/misc/build/mozilla/I_objdir' Makefile:440: recipe for
Re: soltools need(s) to be rebuilt
On Fri, Nov 29, 2013 at 11:41 AM, Απόστολος Συρόπουλος asyropoulos...@hotmail.com wrote: The quoted -features=rvalueref compiler option is probably caused by the ARCH_FLAGS define in main/solenv/inc/unxsoli4.mk I suggest to unquote it. But why did it work for others? Did dmake unquote automatically at one time? I have no idea :-( However, I have managed to go further and now compilation stops at build --all:moz I see the following error message: mkdir: αδύνατη η δημιουργία καταλόγου «./ unxsoli4.pro/misc/build/mozilla/I_objdir»: File exists cat: ./config/build_number: No such file or directory cat: ./config/build_number: No such file or directory /opt/gnu/bin/make export make[1]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir' cat: ./config/build_number: No such file or directory rm -f -rf /sdk /opt/gnu/bin/make -C config export make[2]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config' cat: ../config/build_number: No such file or directory make[3]: Entering directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend' cat: ../../config/build_number: No such file or directory cppsetup.c o host_cppsetup. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/cppsetup.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_cppsetup.' failed make[3]: [host_cppsetup.] Error 127 (ignored) ifparser.c o host_ifparser. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/ifparser.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_ifparser.' failed make[3]: [host_ifparser.] Error 127 (ignored) include.c o host_include. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/include.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_include.' failed make[3]: [host_include.] Error 127 (ignored) main.c o host_main. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/main.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_main.' failed make[3]: [host_main.] Error 127 (ignored) parse.c o host_parse. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/parse.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_parse.' failed make[3]: [host_parse.] Error 127 (ignored) pr.c o host_pr. -c -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ -I/include/mkdepend -I/include -I/sdk/include /extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend/../../../config/mkdepend/pr.c make[3]: o: Command not found ../../../config/rules.mk:1095: recipe for target 'host_pr.' failed make[3]: [host_pr.] Error 127 (ignored) o mkdepend -DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.\ host_cppsetup. host_ifparser. host_include. host_main. host_parse. host_pr. make[3]: o: Command not found ../../../config/rules.mk:860: recipe for target 'mkdepend' failed make[3]: [mkdepend] Error 127 (ignored) make[3]: Leaving directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config/mkdepend' rm -f nfspwd cp ../../config/nfspwd.pl nfspwd chmod +x nfspwd rm -f revdepth cp ../../config/revdepth.pl revdepth chmod +x revdepth /opt/gnu/perl5/5.16.3/bin/perl -I../../config ../../config/bdate.plbuild_number rm -f nsBuildID.h /opt/gnu/perl5/5.16.3/bin/perl -I../../config ../../config/aboutime.pl -m ../../config/milestone.txt nsBuildID.h build_number ../../config/ nsBuildID.h.in nsinstall -m 644 nsBuildID.h ../mozilla-config.h ../../config/nsStaticComponents.h /include nsinstall: mkdirs cannot make /include: Permission denied Makefile:105: recipe for target 'export' failed make[2]: *** [export] Abort (core dumped) make[2]: Leaving directory '/extra/sources/OpenOffice/aoo-4.0.1/main/moz/ unxsoli4.pro/misc/build/mozilla/I_objdir/config' Makefile:455: recipe for target 'export' failed make[1]: ***
RE: soltools need(s) to be rebuilt
I dont know how you managed to get that directory. I was manually building inside this folder... the build system never add files or changes in the source directories. When I look in main/soltools/mkdepend on my system (after a complete build): cd mkdepend/ ls collectdircontent.cxx def.h imakemdep.h makefile.mk pr.c collectdircontent.hxx ifparser.c include.cmkdepend.man cppsetup.c ifparser.h main.c parse.c you find .o files in soltools/unxlngx6.pro/obj unxlngx6.pro has different names on different platforms. OK this last piece of information helped to manually compile all soltools. I am proceeding slowly now since many things fail and I have to do them manually. For example, the following fails configure: configuring in CoinUtils configure: running /bin/sh './configure' --prefix=/extra/sources/OpenOffice/aoo-4.0.1/ext_libraries/coinmp/unxsoli4.pro/misc/build/CoinMP-1.6.0 '--disable-pkg-config' '--disable-bzlib' '--disable-zlib' 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' --cache-file=/dev/null --srcdir=. simply because 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' should be 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' I cross my fingers and I proceed. Thanks once more for your help. A.S. -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
On 28 November 2013 18:31, Απόστολος Συρόπουλος asyropoulos...@hotmail.comwrote: I dont know how you managed to get that directory. I was manually building inside this folder... the build system never add files or changes in the source directories. When I look in main/soltools/mkdepend on my system (after a complete build): cd mkdepend/ ls collectdircontent.cxx def.h imakemdep.h makefile.mk pr.c collectdircontent.hxx ifparser.c include.cmkdepend.man cppsetup.c ifparser.h main.c parse.c you find .o files in soltools/unxlngx6.pro/obj unxlngx6.pro has different names on different platforms. OK this last piece of information helped to manually compile all soltools. I am proceeding slowly now since many things fail and I have to do them manually. For example, the following fails configure: configuring in CoinUtils configure: running /bin/sh './configure' --prefix=/extra/sources/OpenOffice/aoo-4.0.1/ext_libraries/coinmp/ unxsoli4.pro/misc/build/CoinMP-1.6.0 '--disable-pkg-config' '--disable-bzlib' '--disable-zlib' 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' --cache-file=/dev/null --srcdir=. simply because 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' should be 'CC=/usr/bin/cc -features=rvalueref' 'CXX=/usr/bin/CC -features=rvalueref' I cross my fingers and I proceed. Make some notes what you change as you go along, that way we can have a look at if afterward and see if we can change configure.in to include the changes. rgds jan I. Thanks once more for your help. A.S. -- Apostols Syropoulos Xanthi, Greece
Re: soltools need(s) to be rebuilt
On 27 November 2013 19:40, Απόστολος Συρόπουλος asyropoulos...@hotmail.comwrote: Hello, I have come to the conclusion that OpenOffice cannot be configured (at least easily) to compile with GNU g++ under Solaris. So I have tried Solaris Studio. Now I am getting the following error message: = Building module soltools = Entering /extra/sources/OpenOffice/aoo-4.0.1/main/soltools/mkdepend Compiling: soltools/mkdepend/collectdircontent.cxx /extra/sources/OpenOffice/aoo-4.0.1/main/soltools/mkdepend/collectdircontent.hxx, line 6: Error: Could not open include fileset. . Many lines deleted . /extra/sources/OpenOffice/aoo-4.0.1/main/soltools/mkdepend/collectdircontent.cxx, line 4: Error: Cannot use const char* to initialize int. Compilation aborted, too many Error messages. dmake: Error code 2, while making '../ unxsoli4.pro/obj/collectdircontent.obj' 1 module(s): soltools need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /extra/sources/OpenOffice/aoo-4.0.1/main/soltools/mkdepend When you have fixed the errors in that module you can resume the build by running: build --all:soltools Since I have manually compiled the mkdepend tool, it seems to me that the problem here is that the make script forces the C compiler to compile a C++ file, which of course is a bug. I would really appreciate it if someone would tell me either how to convince the make script that the binary has been build (I have no knowledge of dmake!) or how to fix the building script to choose the correct compiler for the corresponding source file. As with any makefile, the whole chain is checked, and when you are in soltools/mkdepend it check the object files against the source, and the exe against the object files. I work on changing the build system, and I often cheat the make system by doing touch obj file, that way its not rebuilt. rgds jan I. Regards, A.S. -- Apostols Syropoulos Xanthi, Greece
RE: soltools need(s) to be rebuilt
As with any makefile, the whole chain is checked, and when you are in soltools/mkdepend it check the object files against the source, and the exe against the object files. I work on changing the build system, and I often cheat the make system by doing touch obj file, that way its not rebuilt. No it is not working. Here are the contents of the folder: $ pwd /extra/sources/OpenOffice/aoo-4.0.1/main/soltools/mkdepend $ ls collectdircontent.cxx cppsetup.o imakemdep.hmake_makedepend parse.o collectdircontent.hxx def.h include.cmakefile.mk pr.c collectdircontent.oifparser.c include.omkdepend pr.o collectdircontent.obj ifparser.h main.cmkdepend.man cppsetup.c ifparser.o main.oparse.c Of course it is quite possible that I am doing something wrong... A.S. -- Apostols Syropoulos Xanthi, Greece