make problem in redhat 9

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

make problem in redhat 9

hyperaesthetic
Howdy All,

I am a linux noobie trying to install fuse and libgmail to use my gmail account as a hard drive. I have been trying my darnest to install Fuse, but so far nothing productive came of my effort.

I am running redhat linux 9 on my Dell latitude C860 (I think). I have a couple of different kernels, but when I switch and prepare my kernel, I get the same errors.

I wasn't able to find the kernel source for version 2.4.20-30.9 on my drive, so I downloaded the source. I unpacked in /usr/src/linux-2.4.20-30.9. I did make menuconfig and dep. It worked fine.

I have kernel source for 2.4.20-8 and applied the same steps and it worked fine, also.

Then I went to fuse-2.3.0 directory at /usr/local/fuse-2.3.0 and did ./configure --with-kernel=/usr/src/linux-2.4.20-30.9/
It went ok. Then I did make, and I have the following screen dump. The errors are identical when I boot the notebook with the other kernel (2.4.20-8)

I would greatly appreciate if anyone can shed some light on my series of problems.... I really want to be able to use gmail account space as hard drive as it will solve most of my problem juggling different version of my work.

Thank you,

KC
-----------------------
[root@128 fuse-2.3.0]# make
Making all in kernel
make[1]: Entering directory `/usr/local/fuse-2.3.0/kernel'
gcc -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe -msoft-float -I/usr/src/linux-2.4.20-8//include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"2.3.0\"  -c compat/parser.c -o compat/parser.o
In file included from compat/parser.c:16:
/usr/src/linux-2.4.20-8/include/linux/ctype.h:18: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/ctype.h:18: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/ctype.h:18: `_ctype_R_ver_str' declared as function returning an array
/usr/src/linux-2.4.20-8/include/linux/ctype.h:18: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/ctype.h: In function `__tolower':
/usr/src/linux-2.4.20-8/include/linux/ctype.h:39: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/ctype.h:39: subscripted value is neither array nor pointer
/usr/src/linux-2.4.20-8/include/linux/ctype.h: In function `__toupper':
/usr/src/linux-2.4.20-8/include/linux/ctype.h:46: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/ctype.h:46: subscripted value is neither array nor pointer
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
                 from compat/parser.c:17:
/usr/src/linux-2.4.20-8/include/asm/processor.h: At top level:
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/asm/processor.h:269: warning: parameter names (without types) in function declaration
In file included from compat/parser.c:17:
/usr/src/linux-2.4.20-8/include/linux/module.h:183: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:183: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:184: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:184: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:187: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:187: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:196: warning: parameter names (without types) in function declaration
compat/parser.c: In function `match_one':
compat/parser.c:52: `_ctype_R8d3894f2' undeclared (first use in this function)
compat/parser.c:52: (Each undeclared identifier is reported only once
compat/parser.c:52: for each function it appears in.)
make[1]: *** [compat/parser.o] Error 1
make[1]: Leaving directory `/usr/local/fuse-2.3.0/kernel'
make: *** [all-recursive] Error 1
-----------------------------
Reply | Threaded
Open this post in threaded view
|

Re: make problem in redhat 9

Miklos Szeredi
> I am a linux noobie trying to install fuse and libgmail to use my gmail
> account as a hard drive. I have been trying my darnest to install Fuse, but
> so far nothing productive came of my effort.
>
> I am running redhat linux 9 on my Dell latitude C860 (I think). I have a
> couple of different kernels, but when I switch and prepare my kernel, I get
> the same errors.
>
> I wasn't able to find the kernel source for version 2.4.20-30.9 on my drive,
> so I downloaded the source. I unpacked in /usr/src/linux-2.4.20-30.9. I did
> make menuconfig and dep. It worked fine.

That is pretty darn old kernel.  I think you need 2.4.21 or above for
FUSE, but I might be wrong.

> I have kernel source for 2.4.20-8 and applied the same steps and it worked
> fine, also.
>
> Then I went to fuse-2.3.0 directory at /usr/local/fuse-2.3.0 and did
> ./configure --with-kernel=/usr/src/linux-2.4.20-30.9/
> It went ok. Then I did make, and I have the following screen dump. The
> errors are identical when I boot the notebook with the other kernel (
> 2.4.20-8)

It doesn't matter which kernel you boot when you compile.  It matters
what kernel source you use for compilation.  And the compiler must
also match the one used originally to compile the kernel (see
/proc/version).  And you needto copy the config (usually found in
/boot/config-VERSION) to .config the kernel source directory before
doing the make config/dep.  You'll need to do 'make prepare' too.

If it still doesn't work, try upgrading your kernel to something less
ancient ;)

Miklos


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel