Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 65855 invoked from network); 30 Jul 2007 08:21:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2007 08:21:03 -0000 Received: (qmail 69209 invoked by uid 500); 30 Jul 2007 08:21:01 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 65231 invoked by uid 500); 30 Jul 2007 08:19:30 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 61623 invoked by uid 99); 30 Jul 2007 08:18:28 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of chunronglai@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 01:18:13 -0700 Received: by py-out-1112.google.com with SMTP id a73so2851818pye for ; Mon, 30 Jul 2007 01:17:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=pLTvYCS+Aic2/bSJg1loI48vEq9N9UjU7PG84vGROEp3CPKbAoJENLpLpkGfS3auRLED3ZTLkmIZwvUW+8auI/nf1J6Di2hMFK2ketqLWHQcrh+bltjEJZa4UQI8ds1IpH7rjQO2Tyd7VkpLsbKp+H7tMuEXWPw2FZ36e02kqic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=noosUYccn/pTohibR32wkL8Bqv46xrzuyeFkRBXJTn+e2dQe+pwPL8gXwk0Nr7AmhqSz1NToFp6qyTNosajaWvbWiKVzw9AnDdKjonLrLQMfjn9XSzCTqxamLSb78u7xyvIru6trzQXpigO6aMBLUZrvqR64u0bqpjGEvTwvHLU= Received: by 10.142.185.13 with SMTP id i13mr210692wff.1185783434637; Mon, 30 Jul 2007 01:17:14 -0700 (PDT) Received: by 10.143.5.16 with HTTP; Mon, 30 Jul 2007 01:17:14 -0700 (PDT) Message-ID: Date: Mon, 30 Jul 2007 16:17:14 +0800 From: "chunrong lai" To: dev@harmony.apache.org Subject: [classlib][build][awt]met problem in building awt module on Linux-32 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33369_23732170.1185783434599" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33369_23732170.1185783434599 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I met problems in built a fresh classlib in a new Linux32 (Pentium 4) machine. The error messages, which I have not met before, are as following: -build-native-common: [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -D_REENTRANT -DIPv6_FUNCTION_SUPPORT -I/home/clai1/harmony/trunk/working_classlib/deploy/include -I/home/clai1/harmony/trunk/working_classlib/deploy/jdk/include -I. -I../shared/ -Icommon -I../shared//include -I/home/clai1/harmony/trunk/working_classlib/deploy/../depends/libs/build/lcms -march=pentium3 -g -fpic -c -o ../shared//cmmerror.o ../shared//cmmerror.c [exec] In file included from ../shared//NativeCMM.h:31, [exec] from ../shared//cmmerror.h:27, [exec] from ../shared//cmmerror.c:24: [exec] ../shared//cmmapi.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmmCloseProfile' [exec] ../shared//cmmapi.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmmGetProfileHeader' [exec] ../shared//cmmapi.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmmSetProfileHeader' [exec] ../shared//cmmapi.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmmGetProfileElement' [exec] ../shared//cmmapi.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmmSetProfileElement' [exec] make: *** [../shared//cmmerror.o] Error 1 BUILD FAILED /home/clai1/harmony/trunk/working_classlib/build.xml:148: The following error occurred while executing this line: /home/clai1/harmony/trunk/working_classlib/make/build-native.xml:77: The following error occurred while executing this line: /home/clai1/harmony/trunk/working_classlib/modules/awt/build.xml:150: The following error occurred while executing this line: /home/clai1/harmony/trunk/working_classlib/make/properties.xml:463: exec returned: 2 The LCMS library is also newly built from http://www.littlecms.com/downloads.htm. I do not know if it is related that I have a GCC-4.1.2. Thanks for your help. best regards, chunrong ------=_Part_33369_23732170.1185783434599--