#6 Error in Make

closed
Petric
None
8
2002-11-12
2002-10-08
No

V1.19 has a problem on RH7.3...

<snip>
checking for strtoul... (cached) yes
creating ./config.status
cd . \ && CONFIG_FILES=Makefile
CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
Making all in cvsfs
make[1]: Entering directory `/home/cjensen/cvsfs/cvsfs'
cd .. && automake --gnu cvsfs/Makefile
cd .. \ && CONFIG_FILES=cvsfs/Makefile
CONFIG_HEADERS= /bin/sh ./config.status
creating cvsfs/Makefile
make[1]: Leaving directory `/home/cjensen/cvsfs/cvsfs'
make[1]: Entering directory `/home/cjensen/cvsfs/cvsfs'
gcc -DMODULE -D__KERNEL__ -DLINUX -
DVERSION=\"1.1.9\" -I/lib/modules/2.4.18-
10/build/include -O3 -Wall -fomit-frame-pointer -c
main.c
In file included from main.c:25:
devfs.h:35: parse error before `wait_queue_head_t'
devfs.h:35: warning: no semicolon at end of struct or
union
devfs.h:36: warning: type defaults to `int' in declaration of
`empty'
devfs.h:36: warning: data definition has no type or
storage class
devfs.h:40: parse error before `}'
devfs.h:49: field `in' has incomplete type
devfs.h:50: field `out' has incomplete type
devfs.h:53: field `lock' has incomplete type
In file included from superblock.h:30,
from main.c:26:
proc.h:32: field `lock' has incomplete type
In file included from main.c:26:
superblock.h:72: field `sem' has incomplete type
main.c:32: parse error before string constant
main.c:32: warning: type defaults to `int' in declaration of
`DECLARE_FSTYPE'
main.c: In function `init_cvsfs_fs':
main.c:40: warning: implicit declaration of function `printk'
main.c:40: `KERN_DEBUG' undeclared (first use in this
function)
main.c:40: (Each undeclared identifier is reported only
once
main.c:40: for each function it appears in.)
main.c:40: parse error before string constant
main.c:46: warning: implicit declaration of function
`register_filesystem'
main.c:46: `cvsfs_fs_type' undeclared (first use in this
function)
main.c: In function `exit_cvsfs_fs':
main.c:55: `KERN_DEBUG' undeclared (first use in this
function)
main.c:55: parse error before string constant
main.c:61: warning: implicit declaration of function
`unregister_filesystem'
main.c:61: `cvsfs_fs_type' undeclared (first use in this
function)
main.c: At top level:
main.c:32: warning: `DECLARE_FSTYPE' declared
`static' but never defined
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/cjensen/cvsfs/cvsfs'
make: *** [all-recursive] Error 1
[cjensen@linuxbox cvsfs]$

Discussion

  • Petric

    Petric - 2002-10-08
    • priority: 5 --> 8
    • assigned_to: nobody --> petric
     
  • Petric

    Petric - 2002-10-08

    Logged In: YES
    user_id=194627

    Do you have (at least) the kernel sources installed ?
    The path /lib/modules/2.4.18-10/build/include must point to
    them.

    Usually this path .../include is a symlink to /usr/src/linux
    where your kernel source is placed.

    regards
    Petric

     
  • Petric

    Petric - 2002-11-12

    Logged In: YES
    user_id=194627

    No feedback 'til 1 month - the problem seems to be fixed.
    I close the bug.

     
  • Petric

    Petric - 2002-11-12
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks