Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3.o: undefined reference to `fcntl64' #247

Closed
velissariouc opened this issue Apr 8, 2024 · 4 comments
Closed

sqlite3.o: undefined reference to `fcntl64' #247

velissariouc opened this issue Apr 8, 2024 · 4 comments

Comments

@velissariouc
Copy link

I crosscompile in windows 11 using Lazarus with target aarch64 and I get the following message:

Debug: C:\fpcupdeluxe\cross\bin\aarch64-linux\aarch64-linux-gnu-ld.exe: E:\sw\mORMot2-2.2.stable\src\db....\static\aarch64-linux\sqlite3.o:(.data+0x268): undefined reference to `fcntl64'

Before migrating to mormot2 I tried with mormot and I got the same message.

@synopse
Copy link
Owner

synopse commented Apr 8, 2024

I don't have this issue here.
And aarch64-linux seems fine with nightly builds.
https://luti.tranquil.it/history/tis-test-mormot2

Try with the statics from
https://synopse.info/files/mormot2static.7z

My guess is that they are correct.
Time for a new release perhaps.

@velissariouc
Copy link
Author

velissariouc commented Apr 8, 2024 via email

@synopse
Copy link
Owner

synopse commented Apr 8, 2024

Sounds like a libc library version issue on your setup. Your available local .so may be old, and missing fcntl64.
Did you try to download the latest cross-compiler and .so from fpcupdeluxe?

@synopse
Copy link
Owner

synopse commented Apr 10, 2024

No reaction from @velissariouc

Please use the forum to discuss this issue, and reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants