| Summary: | page.h missing by util-linux | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Jan Kretschmer <kretschi> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | jacmet |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | i386 | |
| Build: | Current SVN | ||
|
Description
Jan Kretschmer
2009-01-05 18:18:16 UTC
I copied the files page.h, page_32.h and page_64.h from the Kernelsources into the staging-directory and I get the following errors, instead of the missing-page.h-error:
/usr/src/svn/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -c -O3 -I/usr/src/svn/buildroot/build_i386/staging_dir/usr/include -I/usr/src/svn/buildroot/build_i386/staging_dir/include --sysroot=/usr/src/svn/buildroot/build_i386/staging_dir/ -isysroot /usr/src/svn/buildroot/build_i386/staging_dir -mtune=i386 -march=i386 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 llseek.c -o llseek.o
llseek.c:34: error: expected declaration specifiers or ‘...’ before ‘_llseek’
llseek.c:34: error: expected declaration specifiers or ‘...’ before ‘fd’
llseek.c:34: error: expected declaration specifiers or ‘...’ before ‘offset_high’
llseek.c:35: error: expected declaration specifiers or ‘...’ before ‘offset_low’
llseek.c:35: error: expected declaration specifiers or ‘...’ before ‘result’
llseek.c:36: error: expected declaration specifiers or ‘...’ before ‘origin’
llseek.c:50: warning: return type defaults to ‘int’
llseek.c: In function ‘_syscall5’:
llseek.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
llseek.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:36: error: parameter name omitted
llseek.c:93: error: expected ‘{’ at end of input
I hope, it helps a bit more ;)
Fixed in r25499 by updating the util-linux version. You should consider using the busybox applets instead of util-linux though as that seems more testing in buildroot. |