Raised This Month: $ Target: $400
 0% 

extension .so "not in executable format"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 11-12-2008 , 16:28   extension .so "not in executable format"
Reply With Quote #1

I'm compiling my extension on Debian Lenny (with GCC 4.1.2) and it works fine.

When I try to use it on CentOS (with GCC 4.1.2), srcds crashes. GDB shows me this error:
Code:
Program exited with code 01.
(gdb) "/home/duke/tf/orangebox/tf/addons/sourcemod/extensions/dukehacks.ext.so": not in executable format: File format not recognized.
Any ideas? I thought maybe it was a problem transferring it, so I used tar to compress and uncompress it before and after transferring. I also made sure to use a binary ftp transfer.
__________________
"Good grammar is essential, Robin."
- Batman

Last edited by L. Duke; 11-12-2008 at 16:30.
L. Duke is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode