[hackers] simple build question on linux x86_64
Faried Nawaz
silence-gd at nilpotent.org
Thu Apr 24 13:06:42 CEST 2008
Matthew Swank wrote:
Trying to compile the towers of hanoi example I get:
Internal error: : Link failed: don't know how to build <hanoi>hanoi.o
My build command is:
/usr/local/opendylan-1.0beta5/bin/opendylan -build hanoi.hdp
Where opendylan is a shell script similar to http://paste.lisp.org/display/44077
Can you paste the entire output of the command to paste.lisp.org?
It doesn't work for me either, but that's because I upgraded my
system and no longer have the 32bit libgcc.a library (and I don't
know where to find it). Here's the output when I try
on Unbutu 7.10:
% opendylan -build hanoi.hdp
Hacker Edition
Version 1.0 [Beta 4]
Copyright (c) 1997-2004, Functional Objects, Inc.
Portions Copyright (c) 2004-2007, Dylan Hackers
All rights reserved.
Opened project hanoi
Number of libraries to compile: 4
Library {library-description of dylan.78161851} is up to date.
Library {library-description of unix-portability.78132570} is up to date.
Library {library-description of common-dylan.78129473} is up to date.
Updating definitions for {editable {class <user-project>}: hanoi in /tmp/towers-of-hanoi/hanoi.hdp}
Reading and installing: start.dylan
[...]
Heap Allocated 11964416 Total 11964416 Free 0
There were 0 warnings, 14 serious warnings and 0 errors.
Build of 'hanoi' completed
File /t78/64/lib/hanoi.mkf : dylanmakefile.mkf
LinkDLL /t78/64/lib/libhanoi.so : _glue.o hanoi.o library.o start.o
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
Internal error: : Link failed: Building target libhanoi.so: "gcc -m32 -shared -o /t78/64/lib/libhanoi.so -T /usr/local/opendylan-1.0beta4/lib/dylan-elf-dll.script _glue.o hanoi.o library.o start.o -L"/t78/64/lib" -L"/usr/local/opendylan-1.0beta4/lib" -lcommon-dylan -ldylan -lunix-portability" failed with return status 256
Exiting with return code -1
%
Faried (^self)
--
The Great GNU has arrived, infidels, behold his wrath !
(> (length "eclipse") (length "emacs")) => T
More information about the hackers
mailing list