Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 647243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:42:04+00:00 2026-05-13T21:42:04+00:00

When I try to compile Gforth 0.7.0, I get the following error: $ ./configure

  • 0

When I try to compile Gforth 0.7.0, I get the following error:

$ ./configure
$ make
#compiling… 
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [gforth-ll] Error 1
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /usr/local/bin/gforth-0.7.0 bye"
You need to configure with a gforth in $PATH to build this part
make[3]: *** [kernl16b.fi-] Error 1
make[2]: *** [gforth-ll] Error 2
make[1]: *** [optgforth] Error 2
make: *** [gforth] Error 2
[22:16:01] gforth-0.7.0$ 

I get the same error when installing via ports. I imagine the problem is that Gforth is written, at least partially in Forth, so how do I install it without first installing it (or is the problem something else)?

I am using Mac OS 10.6.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:42:04+00:00Added an answer on May 13, 2026 at 9:42 pm

    During the configure, I got the message:

    ...
    checking how to invoke m4... m4 -s
    checking for gforth... echo "You need to configure with a gforth in \$PATH to build this part" && false
    checking for ./arch/386/asm.fs... yes
    ...
    

    I also found that when I built with plain GCC (in 64-bit mode), things went horribly wrong during the compilation (complaints about mis-specified registers in, I assume, assembler inserts). But when I reconfigured with:

    CC="gcc -m32" ./configure --prefix=$HOME
    

    I still got the warning about ‘gforth’ but the rest of the compilation succeeded. The install came up with a warning about ‘chcon’ not working, but the error was ignored.

    After installation, I was able to type:

    Osiris-2 JL: gforth
    Gforth 0.7.0, Copyright (C) 1995-2008 Free Software Foundation, Inc.
    Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
    Type `bye' to exit
    2 3 +  ok
    . 5  ok
    
    Osiris-2 JL: uname -a
    Darwin Osiris-2.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
    Osiris-2 JL:
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when I try to compile an asp.net site using
When I try using a Name=id and\or x:name=id I get a compiler error: The
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
When I try to compile the newest version of Clisp on Ubuntu 8.04 I
When I try to compile code on VS 2005 and it fails, the line
Try to compile: var object:Object = {}; object.one = foo; object.two = foo; object.three
I try to compile a webtools project for Java5/Tomcat 5.5 in ubuntu (with manually
I try to compile this code: static uint64_t push(int fd, SOCKET sock, SSL *ssl,
I try to compile a ( LWJGL ) Java project using NetBeans . I
Here's an interesting puzzle. I downloaded Snippet Compiler to try some stuff out, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.