Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8159140D6 for ; Sat, 9 Jul 2011 04:20:33 +0000 (UTC) Received: (qmail 96337 invoked by uid 500); 9 Jul 2011 04:20:31 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 96135 invoked by uid 500); 9 Jul 2011 04:20:22 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 96126 invoked by uid 99); 9 Jul 2011 04:20:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 04:20:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oiseaumer@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-ww0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 04:20:14 +0000 Received: by wwi14 with SMTP id 14so1018130wwi.0 for ; Fri, 08 Jul 2011 21:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=w3evZyViiSgxK/Wnl8Qdn1sMVmaWEv3MaDDOjNjsp5Y=; b=c5bMMi0Ju2N81uiIlFJ2b28QdDCQ2gTkUac3iS0UgXRcaDQr8YXOahUk75t1gQqrE/ nuvNOM7H+qN04mB1pXkBTzRGfA22BnOKoMFySMPG2OsJYq0pOnSEq+0j4u8PQbIOT246 o9pzHc+B7ONa1nqKgxuetIQwWZqtfeMhYeNQs= MIME-Version: 1.0 Received: by 10.216.134.33 with SMTP id r33mr2346587wei.1.1310185192682; Fri, 08 Jul 2011 21:19:52 -0700 (PDT) Received: by 10.216.163.140 with HTTP; Fri, 8 Jul 2011 21:19:52 -0700 (PDT) In-Reply-To: References: <20110704141715.GE7821@ulungele.erack.de> Date: Sat, 9 Jul 2011 12:19:52 +0800 Message-ID: Subject: Re: Try to build OOo , but meet error...... From: "L'oiseau de mer" To: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable if without setting CC and CXX, configure will use gcc and appear ld error. if CC=3Dcc and CXX=3DCC , configure will appear : checking for cc... /opt/solstudio12.2/bin//cc checking the SunStudio C/C++ compiler version... configure: error: found version "5.11", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler and i also try to use sunstudio11:but it has other error =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Building deps for ../../../js/src/jsscan.c /opt/sunstudio11/SUNWspro/bin/cc -o jsscan.o -c -DOSTYPE=3D\"SunOS5\" -DOSARCH=3D\"SunOS\" -DBUILD_ID=3D0000000000 -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I../../dist/include/nspr -I../../dist/sdk/include -I../../../js/src -I/usr/openwin/include -KPIC -I/usr/openwin/include -xstrconst -xbuiltin=3D%all -mt -DNDEBUG -DTRIMMED -xO4 -I/usr/openwin/include -DM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ID=3D\"org.mozilla\" -DMOZ_ENABLE_XFT=3D1 -DIBMBIDI=3D1 -DMOZ_VIEW_SOURCE=3D1 -DMOZ_XPINSTALL=3D1 -DMOZ_XTF=3D1 -DMOZ_UPDATE_CHANNEL=3Ddefault -DMOZ_FEEDS=3D1 -DMOZ_STORAGE=3D1 -DMOZ_LOGGING=3D1 -DMOZ_USER_DIR=3D\".mozilla\" -DMOZ_XUL=3D1 -DMOZ_MORK=3D= 1 -DMOZ_DLL_SUFFIX=3D\".so\" -DXP_UNIX=3D1 -DUNIX_ASYNC_DNS=3D1 -DJS_THREADSAFE=3D1 -DMOZILLA_1_8_BRANCH=3D1 -DMOZILLA_LOCALE_VERSION=3D\"1.8.1\" -DMOZILLA_REGION_VERSION=3D\"1.8.1\" -DMOZILLA_SKIN_VERSION=3D\"1.8\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT ../../../js/src/jsscan.c ube: error: Assert has been violated at '/set/venus/builds.intel-S2/nightly.Thu/intel-S2/lang/ube/graphs/src/scregi= on.c 305'. cc: ube failed for ../../../js/src/jsinterp.c make[3]: *** [jsinterp.o] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/UNIX-LAB/OOO340-c904c1944462/moz/unxsoli4.pro/misc/build/mozilla/I_objdir= /js/src' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/UNIX-LAB/OOO340-c904c1944462/moz/unxsoli4.pro/misc/build/mozilla/I_objdir= /js' make[1]: *** [tier_2] Error 2 make[1]: Leaving directory `/UNIX-LAB/OOO340-c904c1944462/moz/unxsoli4.pro/misc/build/mozilla/I_objdir= ' make: *** [default] Error 2 dmake: Error code 2, while making './unxsoli4.pro/misc/build/so_built_ooo_mozab' 2 module(s): vcl moz need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /UNIX-LAB/OOO340-c904c1944462/vcl/= prj ERROR: error 65280 occurred while making /UNIX-LAB/OOO340-c904c1944462/moz Attention: if you fix the errors in above module(s) you may prolongue your the build issuing command: build --from vcl moz =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D and then i enter vcl directory,run gmake -r: [ build CXX ] vcl/source/glyphs/gcach_ftyp R=3D/UNIX-LAB && S=3D$R/OOO340-c904c1944462 && O=3D$S/solver/340/unxsoli4.pro && W=3D$O/workdir && mkdir -p $W/CxxObject/vcl/source/glyphs/ && mkdir -p $W/Dep/CxxObject/vcl/source/glyphs/ && /opt/sunstudio11/SUNWspro/bin/CC -DC52 -DCPPU_ENV=3Dsunpro5 -DCUI -DENABLE_GTK -DENABLE_LAYOUT=3D0 -DENABLE_LAYOUT_EXPERIMENTAL=3D0 -DINTEL -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=3D0 -DPRODUCT -DPRODUCT_FULL -DSOLARIS -DSOLAR_JAVA -DSTLPORT_VERSION=3D400 -DSUN -DSUN4 -DSUPD=3D340 -DSYSV -DUNIX -DUNX -DVCL -D_POSIX_PTHREAD_SEMANTICS -D_PTHREADS -D_REENTRANT -DVCL_DLLIMPLEMENTATION -DCUI_DLL_NAME=3D\"libcuisi.so\" -DDLLPOSTFIX=3Dsi -DSAL_DLLPREFIX=3D\"lib\" -DSAL_DLLPOSTFIX=3D\"si.so\" -D_XSALSET_LIBNAME=3D\"libspasi.so\" -DENABLE_FONTCONFIG -temp=3D/tmp -KPIC -mt -xldscope=3Dhidden -features=3Dno%altspell -library=3Dno%Cstd +w2 -erroff=3Ddoubunder,identexpected,inllargeuse,inllargeint,notemsource,refto= temp,truncwarn,wnoretvalue,anonnotype -I/usr/sfw/include -I/usr/sfw/include/freetype2 -DEXCEPTIONS_ON -xarch=3Dgeneric -xO3 -c $S/vcl/source/glyphs/gcach_ftyp.cxx -o $W/CxxObject/vcl/source/glyphs/gcach_ftyp.o -xMMD -xMF $W/Dep/CxxObject/vcl/source/glyphs/gcach_ftyp.d -I$S/vcl/source/glyphs/ -I$O/inc/stl -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/unxsoli4/inc -I$S/solenv/inc -I$S/res -I/opt/sunstudio11/SUNWspro/include -I$S/solenv/inc/Xp31 -I/usr/jdk/instances/jdk1.6.0/include -I/usr/jdk/instances/jdk1.6.0/include/solaris -I/usr/jdk/instances/jdk1.6.0/include/native_threads/include -I$S/vcl/inc -I$S/vcl/inc/pch -I$S/solenv/inc -I$O/inc/offuh -I$O/inc/stl -I$O/inc CC: Warning: Option -xMMD passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -xMF passed to ld, if ld is invoked, ignored otherwise "/UNIX-LAB/OOO340-c904c1944462/vcl/source/glyphs/gcach_ftyp.cxx", line 2337: Error: Cannot assign extern "C" int(*)(const FT_Vector_*,void*) to extern "C" int(*)(FT_Vector_*,void*). "/UNIX-LAB/OOO340-c904c1944462/vcl/source/glyphs/gcach_ftyp.cxx", line 2338: Error: Cannot assign extern "C" int(*)(const FT_Vector_*,void*) to extern "C" int(*)(FT_Vector_*,void*). "/UNIX-LAB/OOO340-c904c1944462/vcl/source/glyphs/gcach_ftyp.cxx", line 2339: Error: Cannot assign extern "C" int(*)(const FT_Vector_*,const FT_Vector_*,void*) to extern "C" int(*)(FT_Vector_*,FT_Vector_*,void*). "/UNIX-LAB/OOO340-c904c1944462/vcl/source/glyphs/gcach_ftyp.cxx", line 2340: Error: Cannot assign extern "C" int(*)(const FT_Vector_*,const FT_Vector_*,const FT_Vector_*,void*) to extern "C" int(*)(FT_Vector_*,FT_Vector_*,FT_Vector_*,void*). 4 Error(s) detected. CC: Invalid input file name /UNIX-LAB/OOO340-c904c1944462/solver/340/unxsoli4.pro/workdir/Dep/CxxObject= /vcl/source/glyphs/gcach_ftyp.d, no output generated for this file. make: *** [/UNIX-LAB/OOO340-c904c1944462/solver/340/unxsoli4.pro/workdir/Cx= xObject/vcl/source/glyphs/gcach_ftyp.o] Error 4 2011/7/4 Michael Stahl : > On 04.07.2011 16:17, Eike Rathke wrote: >> >> Hi L'oiseau, >> >> On Friday, 2011-07-01 08:07:38 +0800, L'oiseau de mer wrote: > >>> export CC=3D/opt/solstudio12.2/bin/cc >>> export CXX=3D/opt/solstudio12.2/bin/CC >> >> Try without setting CC and CXX, configure should find them as >> /opt/solstudio12.2/bin is in your $PATH, or if that doesn't help try >> setting CC=3Dcc and CXX=3DCC without paths. Some configure checks may re= ly >> on the executable name only, without path. > > actually i think i've built successfully with such variables. > (but surprisingly found it necessary to put the sunstudio bin dir on the > PATH as well...) > >>> [ build LNK ] Library/libdesktop_detectorsi.so >>> usage: CC [ options ] files. =A0Use 'CC -flags' for details >>> /usr/gnu/bin/cp: cannot stat >>> >>> `/UNIX-LAB/OOO340-c904c1944462/solver/340/unxsoli4.pro/workdir/LinkTarg= et/Library/libdesktop_detectorsi.so': >>> No such file or directory >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> Maybe is SunCC's option is different with gcc, i want to find this >>> Makefile and modify CFLAGS, > > the error message doesn't tell much. > (cd vcl && gmake -r) > should give the full command that failed. > > regards, > =A0michael > >