Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: turbine2 on December 14, 2005, 03:47:01 PM
-
Whenever I try to make a module I get the following error.
[root@planentine-svr spca5xx-20051212]# make -f Makefile
bash: [root@planentine-svr: command not found
[root@planentine-svr spca5xx-20051212]# grep: /lib/modules/2.4.20-18.7/build/include/linux/autoconf.h: No such file or directory
bash: grep:: command not found
[root@planentine-svr spca5xx-20051212]# grep: /lib/modules/2.4.20-18.7/build/include/linux/autoconf.h: No such file or directory
bash: grep:: command not found
[root@planentine-svr spca5xx-20051212]# Compiling drivers/usb/spcadecoder.c
bash: Compiling: command not found
[root@planentine-svr spca5xx-20051212]# /bin/sh: gcc: command not found
bash: /bin/sh:: No such file or directory
[root@planentine-svr spca5xx-20051212]# make: *** [drivers/usb/spcadecoder.o] Error 127
Anyone any ideas what's wrong?
David
-
Whenever I try to make a module I get the following error.
[root@planentine-svr spca5xx-20051212]# make -f Makefile
bash: [root@planentine-svr: command not found
[root@planentine-svr spca5xx-20051212]#
The server isn't a development platform, and doesn't have development tools (make, compiler, development libraries, etc) installed.
This is a FAQ, please follow the Documentation link on the left.
-
Many thanks Charlie, I'll go have a hunt.
David
-
Hmm, not as clear as I was hoping. Well, I've downloaded the RPMs in the development section and guess I need to install them (all of them?). I've tried searching on 'development platform', 'development tools' and 'development' but there's nothing that lists which rmps I need. I've also read through the two manuals I can find (6000 tech handbook and sme manual) but neither of them make references either.
Make is there (if I type make from a directory without a Makefile in it complains that no targets are specified etc.) but I see gcc isn't. I guess I'll have to install them by trial and error.
-
Bingo, ended up only needing to install a handful of the rpms.
Thanks for the original pointer, it's much appreciated.
-
Hey turbine2,
glad you worked it out.
As an FYI, I believe if you run:
yum install gcc
It should install all the needed rpm's/lib's.
(With the assumption that yum is up to date.)
Good luck
Joe