[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: plain text was compiling outloud on 64 bit ubuntu



Hi.

do you know what is all that mime code after the status line, before your post?


>From emacspeak-request@xxxxxxxxxxx  Tue Dec 15 14:10:54 2009
Return-Path: <emacspeak-request@xxxxxxxxxxx>
Received: from pagent2.arc.nasa.gov (pagent2.arc.nasa.gov [128.102.31.162])
	by eos.arc.nasa.gov (8.13.8/8.13.8) with ESMTP id nBFMAqNn008312
	for <jims@xxxxxxxxxxx>; Tue, 15 Dec 2009 14:10:53 -0800
Received: from mail.cs.vassar.edu (mail.cs.vassar.edu [143.229.6.48])
	by pagent2.arc.nasa.gov (8.12.11.20060308/8.12.11) with ESMTP id nBFMAnJ6027482
	for <jims@xxxxxxxxxxx>; Tue, 15 Dec 2009 14:10:50 -0800
Received: from localhost (mr48 [127.0.0.1])
	by mail.cs.vassar.edu (Postfix) with ESMTP id 59B0F23E7B;
	Tue, 15 Dec 2009 17:11:46 -0500 (EST)
Received: from mail.cs.vassar.edu ([127.0.0.1])
	by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 00927-01-4; Tue, 15 Dec 2009 17:11:46 -0500 (EST)
Received: by mail.cs.vassar.edu (Postfix, from userid 38)
	id B25CC23E74; Tue, 15 Dec 2009 17:11:45 -0500 (EST)
Old-Return-Path: <bart@xxxxxxxxxxx>
X-Original-To: emacspeak@xxxxxxxxxxx
Delivered-To: emacspeak@xxxxxxxxxxx
From: "Bart Bunting" <bart@xxxxxxxxxxx>
To: <emacspeak@xxxxxxxxxxx>
Subject: compiling outloud on 64 bit ubuntu
Date: Wed, 16 Dec 2009 08:29:15 +1100
Message-ID: <01b301ca7dcd$a89b5400$f9d1fc00$@com.au>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_01B4_01CA7E29.DC0BCC00"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acp9zaNw4bVscPp9QEW05yNy0EEWTQ==
Content-Language: en-us
X-BusiBox-cassowary-Spam-Score: -1.7 (-)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.vassar.edu
Resent-Message-ID: <crQbq.A.rU.hmAKLB@xxxxxxxxxxx>
Resent-From: emacspeak@xxxxxxxxxxx
X-Mailing-List: <emacspeak@xxxxxxxxxxx> archive/latest/6964
X-Loop: emacspeak@xxxxxxxxxxx
List-Post: <mailto:emacspeak@xxxxxxxxxxx>
List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
Precedence: list
Resent-Sender: emacspeak-request@xxxxxxxxxxx
Resent-Date: Tue, 15 Dec 2009 17:11:45 -0500 (EST)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.vassar.edu
X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2009-12-15_16:2009-12-12,2009-12-15,2009-12-15 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0912150195
X-Proofpoint-Bar: 
Status: RO

This is a multi-part message in MIME format.

------=_NextPart_000_01B4_01CA7E29.DC0BCC00
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hi all,

 

I am trying to get outloud to compile under 64 bit ubuntu.

 

I have looked through the archives and can't find the explanation I am
looking for.  Back in July there was some discussion of the issue.

 

I have installed the 32 bit compat libraries and tried the compile again.

I also modified the cflags+ in the Makefile to:

CFLAGS+= -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall  -Wno-long-long
-I$(TCL_INCLUDE)

Adding the -m32 flag as suggested by Jason.

 

Now when I compile I get the following:

 

make

g++ -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall  -Wno-long-long
-I/usr/include/tcl8.4   -c -o langswitch.o langswitch.cpp

g++ -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall  -Wno-long-long
-I/usr/include/tcl8.4   -c -o atcleci.o atcleci.cpp

g++ -shared -o atcleci.so langswitch.o atcleci.o -ltcl8.4 -lasound -ldl    

/usr/bin/ld: i386 architecture of input file `langswitch.o' is incompatible
with i386:x86-64 output

/usr/bin/ld: i386 architecture of input file `atcleci.o' is incompatible
with i386:x86-64 output

langswitch.o: In function `convertFromUTF8(Tcl_Interp*, char const*)':

/home/bart/emacs/lisp/emacspeak/servers/linux-outloud/langswitch.cpp:197:
undefined reference to `operator new[](unsigned int)'

/usr/bin/ld: final link failed: Invalid operation

collect2: ld returned 1 exit status

make: *** [atcleci.so] Error 1

 

and if I add -m32 to the libs line I get:

g++ -shared -o atcleci.so langswitch.o atcleci.o -m32 -ltcl8.4 -lasound -ldl


/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.so when searching for
-ltcl8.4

/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.a when searching for
-ltcl8.4

/usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.so when searching for
-ltcl8.4

/usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.a when searching for
-ltcl8.4

/usr/bin/ld: cannot find -ltcl8.4

collect2: ld returned 1 exit status

make: *** [atcleci.so] Error 1

 

I am clearly missing something here.  Any suggestions?  Has anyone got this
working?

 

Regards

 

Bart

 


------=_NextPart_000_01B4_01CA7E29.DC0BCC00
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40"; =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/"; =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing"; =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/"; =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/meetings/"; =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml"; =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd"; =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/"; =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/"; =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#"; =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp"; =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc"; =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"; =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"=
 xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"; =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/"; =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/"; =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"; =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap"; =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile"; =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart"; =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/"; =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup"; =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig"; =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"; =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages"; =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"=
 =
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Hi all,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I am trying to get outloud to compile under 64 bit =
ubuntu.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I have looked through the archives and can&#8217;t =
find the
explanation I am looking for.&nbsp; Back in July there was some =
discussion of
the issue.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I have installed the 32 bit compat libraries and =
tried the
compile again.<o:p></o:p></p>

<p class=3DMsoNormal>I also modified the cflags+ in the Makefile =
to:<o:p></o:p></p>

<p class=3DMsoNormal>CFLAGS+=3D -g&nbsp;&nbsp;&nbsp; -m32 -O2 =
-fPIC&nbsp;
-DPIC&nbsp; -pedantic -ansi -Wall&nbsp; -Wno-long-long =
-I$(TCL_INCLUDE)<o:p></o:p></p>

<p class=3DMsoNormal>Adding the &#8211;m32 flag as suggested by =
Jason.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Now when I compile I get the =
following:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>make<o:p></o:p></p>

<p class=3DMsoNormal>g++ -g&nbsp;&nbsp;&nbsp; -m32 -O2 -fPIC&nbsp; =
-DPIC&nbsp;
-pedantic -ansi -Wall&nbsp; -Wno-long-long =
-I/usr/include/tcl8.4&nbsp;&nbsp; -c
-o langswitch.o langswitch.cpp<o:p></o:p></p>

<p class=3DMsoNormal>g++ -g&nbsp;&nbsp;&nbsp; -m32 -O2 -fPIC&nbsp; =
-DPIC&nbsp;
-pedantic -ansi -Wall&nbsp; -Wno-long-long =
-I/usr/include/tcl8.4&nbsp;&nbsp; -c
-o atcleci.o atcleci.cpp<o:p></o:p></p>

<p class=3DMsoNormal>g++ -shared -o atcleci.so langswitch.o atcleci.o =
-ltcl8.4
-lasound -ldl&nbsp;&nbsp;&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: i386 architecture of input file =
`langswitch.o'
is incompatible with i386:x86-64 output<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: i386 architecture of input file =
`atcleci.o' is
incompatible with i386:x86-64 output<o:p></o:p></p>

<p class=3DMsoNormal>langswitch.o: In function =
`convertFromUTF8(Tcl_Interp*, char
const*)':<o:p></o:p></p>

<p =
class=3DMsoNormal>/home/bart/emacs/lisp/emacspeak/servers/linux-outloud/l=
angswitch.cpp:197:
undefined reference to `operator new[](unsigned int)'<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: final link failed: Invalid =
operation<o:p></o:p></p>

<p class=3DMsoNormal>collect2: ld returned 1 exit status<o:p></o:p></p>

<p class=3DMsoNormal>make: *** [atcleci.so] Error 1<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>and if I add &#8211;m32 to the libs line I =
get:<o:p></o:p></p>

<p class=3DMsoNormal>g++ -shared -o atcleci.so langswitch.o atcleci.o =
-m32
-ltcl8.4 -lasound -ldl&nbsp;&nbsp;&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.so when searching =
for
-ltcl8.4<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.a when searching =
for
-ltcl8.4<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: skipping incompatible =
/usr/lib/libtcl8.4.so
when searching for -ltcl8.4<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: skipping incompatible =
/usr/lib/libtcl8.4.a when
searching for -ltcl8.4<o:p></o:p></p>

<p class=3DMsoNormal>/usr/bin/ld: cannot find -ltcl8.4<o:p></o:p></p>

<p class=3DMsoNormal>collect2: ld returned 1 exit status<o:p></o:p></p>

<p class=3DMsoNormal>make: *** [atcleci.so] Error 1<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I am clearly missing something here.&nbsp; Any
suggestions?&nbsp; Has anyone got this working?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Regards<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Bart<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------=_NextPart_000_01B4_01CA7E29.DC0BCC00--

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog