Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: can't "make" latest CVS tuxzap.



Your kernel include files in linux-2.4.18-14 and your kernel config 
don't match the running kernel.

Holger


Alexandre CONRAD wrote:
> 
> 
>> Hmm, could be the compiler. I tested with 3.2 and 2.95
>>
> I installed RedHat 8.0. It's now clean and new :
> 
> gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --host=i386-redhat-linux --with-system-zlib 
> --enable-__cxa_atexit
> Thread model: posix
> gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> 
> cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv checkout DVB
> cd DVB/
> cvs update -dPA
> cd driver/
> 
> make
> /usr/src/linux/scripts/pathdown.sh: line 4: TOPDIR: parameter null or 
> not set
> DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> make[1]: Entering directory `/usr/src/linux-2.4.18-14'
> make -r -f tmp_include_depends all
> make[2]: Entering directory `/usr/src/linux-2.4.18-14'
> make[2]: *** Warning: File `/boot/kernel.h' has modification time in the 
> future (2002-12-19 16:52:39 > 2002-12-19 16:39:54)
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory `/usr/src/linux-2.4.18-14'
> make -C  /usr/local/src/DVB/driver CFLAGS="-D__KERNEL__ 
> -I/usr/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS 
> -include /usr/src/linux-2.4.18-14/include/linux/modversions.h" 
> MAKING_MODULES=1 modules
> make[2]: Entering directory `/usr/local/src/DVB/driver'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
> -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.18-14/include/linux/modversions.h -I ../include -I . 
> -g -MD -nostdinc -I /usr/lib/gcc-lib/i386-redhat-linux/3.2/include 
> -DKBUILD_BASENAME=dmxdev  -c -o dmxdev.o dmxdev.c
> In file included from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
>                 from dmxdev.c:24:
> /usr/src/linux-2.4.18-14/include/linux/sched.h:6: invalid suffix on 
> integer constant
> /usr/src/linux-2.4.18-14/include/linux/sched.h:6: parse error before 
> numeric constant
> /usr/src/linux-2.4.18-14/include/linux/sched.h:6: warning: function 
> declaration isn't a prototype
> In file included from /usr/src/linux-2.4.18-14/include/linux/ptrace.h:24,
>                 from /usr/src/linux-2.4.18-14/include/linux/binfmts.h:4,
>                 from /usr/src/linux-2.4.18-14/include/linux/sched.h:9,
>                 from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
>                 from dmxdev.c:24:
> /usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: invalid suffix on 
> integer constant
> /usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: parse error before 
> numeric constant
> /usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: `show_regs_R_ver_str' 
> declared as function returning a function
> /usr/src/linux-2.4.18-14/include/asm/ptrace.h:60: warning: function 
> declaration isn't a prototype
> In file included from /usr/src/linux-2.4.18-14/include/linux/wait.h:13,
>                 from /usr/src/linux-2.4.18-14/include/linux/fs.h:12,
>                 from 
> /usr/src/linux-2.4.18-14/include/linux/capability.h:17,
>                 from /usr/src/linux-2.4.18-14/include/linux/binfmts.h:5,
>                 from /usr/src/linux-2.4.18-14/include/linux/sched.h:9,
>                 from /usr/src/linux-2.4.18-14/include/linux/vmalloc.h:4,
>                 from dmxdev.c:24:
> 
> [... with tons of lines... ]
> 
> /usr/src/linux-2.4.18-14/include/linux/module.h:196: warning: parameter 
> names (without types) in function declaration
> In file included from /usr/src/linux-2.4.18-14/include/linux/videodev.h:22,
>                 from dmxdev.c:27:
> /usr/src/linux-2.4.18-14/include/linux/devfs_fs_kernel.h: In function 
> `devfs_unregister_chrdev_R77f3e0ce':
> /usr/src/linux-2.4.18-14/include/linux/devfs_fs_kernel.h:256: warning: 
> implicit declaration of function `unregister_chrdev_Rc192d491'
> /usr/src/linux-2.4.18-14/include/linux/devfs_fs_kernel.h: In function 
> `devfs_unregister_blkdev_R5ca0f0f0':
> /usr/src/linux-2.4.18-14/include/linux/devfs_fs_kernel.h:260: warning: 
> implicit declaration of function `unregister_blkdev_Reac1c4af'
> In file included from dmxdev.c:30:
> compat.h: In function `cond_resched':
> compat.h:56: warning: implicit declaration of function `schedule_R4292364c'
> dmxdev.c: In function `dvb_dmxdev_buffer_write':
> dmxdev.c:86: warning: implicit declaration of function `printk_R1b7d4074'
> dmxdev.c: In function `dvb_dvr_release':
> dmxdev.c:255: warning: implicit declaration of function `vfree_R2fd1d81c'
> dmxdev.c: In function `dvb_dmxdev_filter_timer':
> dmxdev.c:350: warning: implicit declaration of function 
> `del_timer_Rfc62f16d'
> dmxdev.c:354: `jiffies_R0da02d67' undeclared (first use in this function)
> dmxdev.c:355: warning: implicit declaration of function 
> `add_timer_Ra19eacf8'
> make[2]: *** [dmxdev.o] Error 1
> make[2]: Leaving directory `/usr/local/src/DVB/driver'
> make[1]: *** [_mod_/usr/local/src/DVB/driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
> make: *** [here] Error 2
> 
> Woooh, what's wrong with my setup ?
> 
> Regards,
> 



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index