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

update-img: Warnings building on Debian 6 #46

Closed
crawfxrd opened this issue Aug 23, 2016 · 1 comment
Closed

update-img: Warnings building on Debian 6 #46

crawfxrd opened this issue Aug 23, 2016 · 1 comment

Comments

@crawfxrd
Copy link
Contributor

Building on Debian 6 produces:

make[1]: Entering directory `/root/dattobd/utils'
gcc -Wall -std=gnu99 -o update-img update-img.c /root/dattobd//lib/libdattobd.a
update-img.c: In function ‘copy_block’:
update-img.c:38: warning: implicit declaration of function ‘pread’
update-img.c:46: warning: implicit declaration of function ‘pwrite’
make[1]: Leaving directory `/root/dattobd/utils'
@crawfxrd
Copy link
Contributor Author

Defining _XOPEN_SOURCE to 500 causes it to compile without warnings.

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

1 participant