imustafin / pbdoom

Doom for PocketBook eInk devices
https://pbdoom.imustafin.tatar
GNU General Public License v2.0
17 stars 0 forks source link

version `GLIBC_2.7' not found #9

Open zloytapokk opened 11 months ago

zloytapokk commented 11 months ago

After starting PBDoom, it creates game.log file in the "applications\pbdoom\" with:

./game.app: /lib/libc.so.6: version `GLIBC_2.17' not found (required by ./game.app)

./game.app: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./game.app)

imustafin commented 11 months ago

Hi. Very interesting. What is your device model and the firmware version?

zloytapokk commented 11 months ago

Pocketbook 611, E611.15.8.0

imustafin commented 11 months ago

I see. Just to confirm, can you please show the output of running /lib/libc.so.6 on your device?

Also, does your device have touchscreen? Currently pbdoom has only touch controls, so it is not possible to play without touchscreen currently.

It is very straightforward to add button controls, so we can work on this.

zloytapokk commented 11 months ago

PocketBook 611 doesn't have a touchscreen, but I was interested in this project anyway pblibc.zip

imustafin commented 11 months ago

No problem, thanks for the interest!

I see your libc is 2.5

strings libc.so.6 | grep GLIBC
GLIBC_2.4
GLIBC_2.5
GLIBC_PRIVATE

KOReader had a similar problem in https://github.com/koreader/koreader/issues/5939 (for reference)

Probably we can just avoid calling some functions and it will work.

You said that the log contained

./game.app: /lib/libc.so.6: version `GLIBC_2.17' not found (required by ./game.app)

./game.app: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./game.app)

Was there anything else? Can you upload the full log please?

zloytapokk commented 11 months ago

That's a full log)

imustafin commented 11 months ago

Thanks. I will take a look.

At the first glance, the options are: either we can adapt koreader's compilation configuration or we could simply build a separate version with the older SDK for older devices.

imustafin commented 10 months ago

Let me try to actually fix this :)

imustafin commented 9 months ago

@zloytapokk can you please try this version https://github.com/imustafin/pbdoom/suites/17326158019/artifacts/989967290 ?

It should start on your device. However, it will have only touch controls, so you won't be able to do anything.

If so, we can work on adding buttons support later.

zloytapokk commented 9 months ago

Thank you, it starts, runs for 3-5 seconds and crashes into the "applications" menu with an error (./game.app: symbol lookup error: ./game.app: undefined symbol: DrawCircle) game.log