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.
__________________