On Fri, Mar 24, 2000, Randy Dunlap <[EMAIL PROTECTED]> wrote:
> 
> It has a patch error (a blank line at #687, not found in the same
> file at webcam.sourceforge.net).  Easy to fix, done.

Hmm, I don't get that problem. Maybe we have different versions of patch?
Did you ever get that corrupted patch problem worked out?

> Hopefully you can get someone on the cpia video team to fix these
> other items.

> Then it has compile (syntax) errors when building it in-kernel:
> 
> gcc -D__KERNEL__ -I/work/linsrc/lin2399pre3/include -D__SMP__ -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
> -pipe   -march=i686   -c -o cpia_pp.o cpia_pp.c
> cpia_pp.c:1709: warning: return-type defaults to `int'
> cpia_pp.c: In function `__initfunc':
> cpia_pp.c:1710: `str' undeclared (first use in this function)
> cpia_pp.c:1710: (Each undeclared identifier is reported only once
> cpia_pp.c:1710: for each function it appears in.)
> cpia_pp.c:1711: `ints' undeclared (first use in this function)
> cpia_pp.c:1727: warning: control reaches end of non-void function
> cpia_pp.c: At top level:
> cpia_pp.c:1729: `cpia_pp_setup' undeclared here (not in a function)
> cpia_pp.c:1729: initializer element for
> `__setup_cpia_pp_setup.setup_func' is not constant
> make[3]: *** [cpia_pp.o] Error 1
> make[3]: Leaving directory `/work/linsrc/lin2399pre3/drivers/char'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/work/linsrc/lin2399pre3/drivers/char'
> make[1]: *** [_subdir_char] Error 2
> make[1]: Leaving directory `/work/linsrc/lin2399pre3/drivers'
> make: *** [_dir_drivers] Error 2
> [rdunlap@dragon linux]$ 

Hmm, I see when I was testing the compiling that parallel port never got
built. I'll check on this.

> Then when building the cpia components as modules, I get this:
> 
> ld -m elf_i386 -T /work/linsrc/lin2399pre3/arch/i386/vmlinux.lds -e
> stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o \
>         --start-group \
>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
> mm/mm.o fs/fs.o ipc/ipc.o \
>         drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
> drivers/net/net.o drivers/parport/parport.a  drivers/ide/ide.a
> drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sounddrivers.o
> drivers/pci/pci.a drivers/video/video.o drivers/usb/usbdrv.o \
>         net/network.a \
>         /work/linsrc/lin2399pre3/arch/i386/lib/lib.a
> /work/linsrc/lin2399pre3/lib/lib.a
> /work/linsrc/lin2399pre3/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/char/char.o(.data+0x3744): undefined reference to `cpia_init'
> make: *** [vmlinux] Error 1
> [rdunlap@dragon linux]$ 

As a module or compiling into the kernel? As a module, I don't get this
error.

JE


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to