Comments (7)
I don't know.
Now checked and works perfectly, hmm...
Do you have 32-bit SLD2 and GLIBC? Does /lib
and /usr/lib
are 32-bit libraries directories? Does your gcc and ld are able to generate 32-bit binaries? Maybe reorder object files: game-obj/NFS2SE.Linux.o *.o
Also check this:
$ md5sum src/game-obj/NFS2SE.Linux.o
2cfb2b1c50f86dc5b49c82c5eb10514f src/game-obj/NFS2SE.Linux.o
from nfsiise.
root@debian-testing:/build/nfs2se-1.0.0+git+bsos# md5sum src/game-obj/NFS2SE.Linux.o
2cfb2b1c50f86dc5b49c82c5eb10514f src/game-obj/NFS2SE.Linux.o
I have the following packages in debian/control:
gcc:i386,
libsdl2-dev:i386
This also means any packages pulled in as dependencies of those. Same error if reordering. I tried correcting the path to /usr/lib/i386-linux-gnu/, no luck either. Still looking at things. I don't have paths you have hard-coded in linker steps, maybe that's it? I am building this in a i386 chroot. I read this thread about ordering the objects/linkering.
/lib/ld-linux.so.2
root@debian-testing:/build/nfs2se-1.0.0+git+bsos# file /usr/bin/ld
/usr/bin/ld: symbolic link to ld.bfd
root@debian-testing:/build/nfs2se-1.0.0+git+bsos# file /usr/bin/ld.bfd
/usr/bin/ld.bfd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=209b2d19f2a7282cf72373e0d7243d528937892f, stripped
from nfsiise.
I think this was my fault. I was using build steps in debian/rules from your master branch file, and I was using the v1.0.0 release...I'm sorry about that. I saw you made a lot of changes since then. On to the next steps! Can't wait to script the install further to get this prepped for my SteamOS repository.
from nfsiise.
Thing that makes the rest of packaging this rough, is the Need For Speed II SE directory having spaces. Is there a reason why it has to be this way? is it hardcoded?
from nfsiise.
Came up with a hack, since dh_install for Debian hates spaces in the install file. See here for more. SO what I did, was rename the folder at the end of the compile/link, added dashes, then used the install file with the dashes in the name. Added a postinst file that fires off after the user installs the deb package, which renames it back. On to the next stage :)
from nfsiise.
Hmm, v1.0.0 and master differs too much. I think I'll release it soon.
Thing that makes the rest of packaging this rough, is the Need For Speed II SE directory having spaces. Is there a reason why it has to be this way? is it hardcoded?
You can change the directory name after compilation or modify the compilation script :)
from nfsiise.
Ok, as long as the game will actually function with the directory name different, that is fine. I may just rename it and lowercase it after the compile/link. Thanks!
from nfsiise.
Related Issues (20)
- Add support for cockpits HOT 2
- Lag issue while playing HOT 3
- Black Screen after clicking on "Race" HOT 3
- Game speed fluctuates on Windows HOT 3
- Segment fault on run nfs2se HOT 21
- Steam Deck not working HOT 9
- Conversion to 64 bits HOT 1
- When compiling, get an error: DInput.c:126:68: error: ‘SDL_HAPTIC_STEERING_AXIS’ undeclared HOT 2
- Is there any Cockpit ? HOT 1
- Occasional crashes when playing online with unlocked version with cheats HOT 6
- Is there an option to limit framerate to certain frame limit? HOT 2
- Game odd behaviour after selecting another window or moving virtual desktop
- Steam deck compile HOT 3
- Movie file not found with NFS2SE HOT 1
- Linux Mint Debian Edition 5 signal 11 HOT 16
- controller not detected by game in latest stable release HOT 8
- execvp: No such file or directory. HOT 6
- If i try to start nfs2se.exe Error message: MOVIE FILE NOT FOUND HOT 4
- game not running HOT 1
- Possiblity to turn off texture filtering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfsiise.