Re: [PATCH] LinuxPPS (with new syscalls API) - new version

Rodolfo Giometti
2007-06-29T15:37:29Z

On Fri, Jun 29, 2007 at 04:25:16PM +0100, David Woodhouse wrote:
> On Fri, 2007-06-29 at 17:08 +0200, Rodolfo Giometti wrote:
> > On Fri, Jun 29, 2007 at 12:38:02PM +0100, David Woodhouse wrote:
> > >
> > > It doesn't apply to the current git tree, which has already had some new
> > > system calls added.
> >
> > Ok, here the patch against latest git commit.
>
> CC fs/fcntl.o
> In file included from include/linux/syscalls.h:69,
> from fs/fcntl.c:8:
> include/linux/pps.h:51: error: field ???tspec??? has incomplete type
> make[1]: *** [fs/fcntl.o] Error 1

Gulp! =:-o

On my system I get:

giometti@zaigor:~/Projects/linuxpps/kernel$ touch fs/fcntl.c
giometti@zaigor:~/Projects/linuxpps/kernel$ make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC fs/fcntl.o
LD fs/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
WARNING: arch/i386/kernel/built-in.o(.exit.text+0x18): Section mismatch: reference to .init.text: (after 'cache_remove_dev')
WARNING: kernel/built-in.o(.text+0x13826): Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
AS arch/i386/boot/setup.o
LD arch/i386/boot/setup
OBJCOPY arch/i386/boot/compressed/vmlinux.bin
GZIP arch/i386/boot/compressed/vmlinux.bin.gz
LD arch/i386/boot/compressed/piggy.o
LD arch/i386/boot/compressed/vmlinux
OBJCOPY arch/i386/boot/vmlinux.bin
BUILD arch/i386/boot/bzImage
Root device is (9, 0)
Boot sector 512 bytes.
Setup is 7057 bytes.
System is 1348 kB
Kernel: arch/i386/boot/bzImage is ready (#135)
Building modules, stage 2.
MODPOST 69 modules

How is that possible??? I just git pull the linux code... maybe you
have a bit older version?

Ciao,

Rodolfo