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

building on armhf: implicit declaration of function ‘ftello64’; did you mean ‘ftello’? #117

Open
a-detiste opened this issue Apr 24, 2024 · 2 comments

Comments

@a-detiste
Copy link
Contributor

Hi,

This is some fallout from the time64 rebuild in Debian with -Werror=implicit-function-declaration

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069527

I can certainly fix it in some ugly way, I 'll have a look later.

I guess the same bug can be reproduced on a i386 chroot with the right compilation flags.

https://www.gnu.org/software/libc/manual/html_node/File-Positioning.html#index-ftello

https://lwn.net/Articles/938149/

@a-detiste
Copy link
Contributor Author

If the sources are compiled with _FILE_OFFSET_BITS == 64 on a 32 bits machine this function is available under the name fseeko

@invertego
Copy link
Contributor

This is related to another open issue; I've documented the problems with libchdr's attempts to detect the compilation environment here: #92 (comment)

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