mainMIT/GNU Scheme - Support: sr #105385, compile failure on DragonFly

 
 

sr #105385: compile failure on DragonFly

Submitter:  Francis GUDIN <fgudin>
Submitted:  Sat 03 Jun 2006 04:29:24 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  5 - Blocker Status:  Done
Privacy:  Public Assigned to:  riastradh
Open/Closed:  Closed Operating System:  *BSD
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Apr 2008 03:23:47 PM UTC, comment #2: 

Hello,

just tested the last snapshot available ('20080130') which builds with the etc/liarc.sh method and runs fine on DragonFlyBSD 1.12.1
Support was included since 20070824, but I didn't notice at the time.

This item can be closed now. Many thanks !

BR,
--
Francis

Francis GUDIN <fgudin>
Sun 11 Feb 2007 08:54:21 AM UTC, comment #1: 

Sorry to respond to this so late; I don't usually look here -- sending mail to mit-scheme-users is usually better.

Judging by the script you showed, it looks like the problem may be caused by an inconsistency with leading underscores on symbols -- they should be suppressed when generating the assembly code, but they are not.  If you provisionally edit the makefile to add `-P SUPPRESS_LEADING_UNDERSCORE,1' (without the quotes) to the M4_FLAGS variable, and try again, does that help?

Taylor R. Campbell <riastradh>
Group Member
Sat 03 Jun 2006 04:29:24 PM UTC, original submission:  

Hello,
I wish to compile MIT-Scheme on DragonFly: I don't like Linux binary compat.
Furthermore, FreeBSD binary fails also:
"> scheme
scheme: can't find a readable default for option -band.
searched for file runtime.com in these directories:
/usr/local/lib/mit-scheme

Inconsistency detected."

So, I untared mit-scheme-7.7.1-src-ucode.tar.gz and replaced config.{guess,sub} with their most recent counterparts to get DragonFly supported by 'configure'.
After fixing a little glitch due to a remaining _POSIX test, the compilation goes through until it tries to link the scheme binary up: lots of undefined references, mainly to "Registers". I tried to understand where do the problem lies, but couldn't get a grasp through all these M4 macros. Too difficult to me :-(

I attach a script(1) session showing you the configure and make phases. I hope someone could help: I'd really like to practice SICP.

Many thanks in advance,
Francis.

Francis GUDIN <fgudin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10113:  mit-scheme_script added by fgudin (83KiB - application/octet-stream - configure and make session script)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fgudin (Posted a comment)
  • -email is unavailable- added by riastradh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-18 riastradh StatusNone Done
        Open/ClosedOpen Closed
    2007-02-11 riastradh Assigned toNone riastradh
    2006-06-03 fgudin Attached File- Added mit-scheme_script, #10113

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code