OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: Meyer on September 13, 2005, 01:54:49 pm
-
Anyone else tried to compile gforth 0.6.2 on their Z using dev_img 1.5? I keep failing on the link step with "undefined reference to `fstat64'" errors in engine.o and engine2.o. I want to compile the latest version of gforth because although Skip Carter's version 0.5.0 binary on ZSI is useful, it lacks a few standard modules I need.
-
Anyone else tried to compile gforth 0.6.2 on their Z using dev_img 1.5? I keep failing on the link step with "undefined reference to `fstat64'" errors in engine.o and engine2.o. I want to compile the latest version of gforth because although Skip Carter's version 0.5.0 binary on ZSI is useful, it lacks a few standard modules I need.
This sounds like the same problem I mentioned with zgcc. See if the comments in this thread (https://www.oesf.org/forums/index.php?showtopic=12918&hl=) solve it. I can give it a try later tonight.
John
-
The fault lies not in our gforth, but in our image_setup. -- William Geekspeare
Thanks, John. That looks like it explains my trouble.
Actually, after my initial post random surfing through the forums led me to this thread (https://www.oesf.org/forums/lofiversion/index.php?t11036.html), which deals with the same problem.
Apparently the problem is not with gforth or whatever else is being built, and not that any necessary modules are missing from dev_img, but that the script image_setup.sh that comes with at least versions 1.5 and 1.6 of dev_img fails to create a number of links that are required for ld to find some of the modules.
The thread cited above includes a script that makes up for image_setup.sh's shortcomings. I ran it on my Z and can now successfully build Gforth 0.6.2.