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

Compilation error #1

Open
pedroalbanese opened this issue Dec 5, 2020 · 1 comment
Open

Compilation error #1

pedroalbanese opened this issue Dec 5, 2020 · 1 comment

Comments

@pedroalbanese
Copy link

$ make
cc -Wall -O3 -c -o shred.o shred.c
shred.c: In function ‘main’:
shred.c:92:33: error: ‘O_LARGEFILE’ undeclared (first use in this function)
92 | rsf = open(randsrc, O_RDONLY | O_LARGEFILE);
| ^~~~~~~~~~~
shred.c:92:33: note: each undeclared identifier is reported only once for each function it appears in
make: *** [: shred.o] Error 1

How do proceed?

@strlcat
Copy link
Owner

strlcat commented Jan 2, 2021

Hi,

Please provide more info on which system this happens. glibc 2.29 is fine for me.

Sorry for late reply, I missed email notification.

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