Game Development Community

ELF binary type "0" not known

by Dave Shay · in Torque Game Engine · 01/19/2005 (8:59 pm) · 11 replies

I downloaded the TorqueGameEngineSDK-1.3.bin and am scratching my head on what to do next. The documentation says to use CVS, but after digging through the forums it seems that is no longer supported/encouraged.

I'm old school about doing Linux installs and am used to compiling the source code myself rather than running an installer. But just for grins I attempted to execute the .bin and got this message:

ELF binary type "0" not known.
Abort

This tells me I either need to re-compile my FreeBSD kernel to support this binary type (assuming I can find the correct option to turn on), or the binary is corrupt. Both cases would be irrelevant if I could just download the source code. How do I do this?

#1
01/19/2005 (9:44 pm)
While I, also, prefer CVS, the binary download is the "official" way to go.

I've never used FreeBSD, but that error, I gather, is due to someone not hitting the binary with brandelf.

Here's hoping that the .bin doesn't check that bit of itself for corruption.

Otherwise, CVS is still available, just search the forums.

Gary (-;
#2
01/19/2005 (9:49 pm)
Thanks, Gary.

In the meantime I was able to compile in Windows XP using the Win32 distribution and the Cygwin gcc compiler, so at least I can play around with Torque now.

I'll also search the forums to see if I can figure out CVS. I'll post an update here when I've found a solution.
#3
01/19/2005 (10:42 pm)
We still provide a CVS server, but the installer is out there so that we have fewer CVS related support calls/mails/complaints. It has done wonders on getting newbies up and running. Where did you find the old reference to using CVS?
#4
01/20/2005 (2:06 pm)
Perhaps the bin file is just a makeself self-extracting shell script. Try running sh on it.

Edit: ignore that, I think it probably really is an elf binary.
#5
01/20/2005 (3:24 pm)
Yep, doing a "head" on the file definitely shows it is a binary, and running sh on it yields pretty much the same result.

Since I ran the Windows installer on another machine, I'm going to tar up the source files there (gotta love Cygwin!) and ftp them over to my Linux machine and give the compile a shot.
#6
01/20/2005 (3:26 pm)
Ben,

I'll try to find the CVS reference tonight. I looked for it this morning but couldn't find it.
#7
01/20/2005 (4:28 pm)
Hi Dave, nice seeing you here :)

You finally took the plunge eh?

See you at Core some time :)
#8
01/20/2005 (4:35 pm)
Is this the CVS you're looking for? It took me forever to find it after reformatting my harddrive the other day. :)
#9
01/21/2005 (12:28 pm)
Willbkool,

Thanks! That's definitely the droids I was looking for! :)
#10
01/21/2005 (4:30 pm)
The installer _is_ an elf binary... However there is a tiny twist, its one of those compressed executeable binaries. And if I'm not mistaken,
http://upx.sourceforge.net/ is used to compress it. Thats probably what is tripping up the freeBSD elf bits..
#11
01/26/2005 (5:44 am)
Update:

I've had some success thanks to the CVS link Willbkool posted. I've moved on to a compiler problem (which I've posted in a new thread).

Although I got CVS working, I tried to get the installer working as well since that seems CVS will be depreciated at some point. Here's my current status.

I setup a new machine running a fresh install of FreeBSD 5.3 and made sure to enable ELF support. Now when I try to run the TorqueGameEngineSDK-1.3.bin, I no longer get the error message about the ELF binary type. Now all I get is my prompt back... (no status or error messages of any kind). Nothing seems to change on my filesystem.