Bug 19 - page.h missing by util-linux
Summary: page.h missing by util-linux
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 18:18 UTC by Jan Kretschmer
Modified: 2009-03-03 09:06 UTC (History)
1 user (show)

See Also:
Host:
Target: i386
Build: Current SVN


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kretschmer 2009-01-05 18:18:16 UTC
The package util-linux is complaining about the missing file page.h, located in the directory include/asm. Copying the page.h from the Kernel-tar.bz2 only produces other errors.

I can't get a full build of a uclibc-root, because of this error ;)
Comment 1 Jan Kretschmer 2009-01-15 20:04:23 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 ;)
Comment 2 Peter Korsgaard 2009-03-03 09:06:33 UTC
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.