LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-29-2005, 03:54 AM   #1
wimnat
Member
 
Registered: Dec 2004
Location: Sydney, AU
Distribution: CentOS 5.x, Backtrack
Posts: 72

Rep: Reputation: 16
Compiling Server Cluster Tools for RH


Ok the deal is i am trying to comile cluster tools 1.01 (http://sources.redhat.com/cluster/ .

After a ./configure
make
I had an error about my kernel not supporting modules so i fixed that and now i have another error which i have no clue how to fix. Any help much appreciated...

Code:
In file included from /usr/src/linux-2.4.21-37.EL/include/linux/spinlock.h:56,
                 from /usr/src/linux-2.4.21-37.EL/include/linux/module.h:11,
                 from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:9: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:10: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.21-37.EL/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.21-37.EL/include/linux/list.h:6,
                 from /usr/src/linux-2.4.21-37.EL/include/linux/module.h:12,
                 from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:61: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:61: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:273: warning: parameter names (without types) in function declaration
In file included from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:203: warning: parameter names (without types) in function declaration
make[6]: *** [3w-xxxx_10200033.o] Error 1
make[6]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers/addon/3w-xxxx_10200033'
make[5]: *** [_modsubdir_3w-xxxx_10200033] Error 2
make[5]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers/addon'
make[4]: *** [_modsubdir_addon] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers'
make[3]: *** [_mod_drivers] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-37.EL'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel'
make: *** [all] Error 2
 
Old 11-29-2005, 09:29 AM   #2
wimnat
Member
 
Registered: Dec 2004
Location: Sydney, AU
Distribution: CentOS 5.x, Backtrack
Posts: 72

Original Poster
Rep: Reputation: 16
OK i managed to correct a lot of the compile errors but this one i am very stuck on!

Code:
[root@tigpr8 cluster-1.01.00]# make install
cd cman-kernel && make install
make[1]: Entering directory `/usr/src/cluster-1.01.00/cman-kernel'
cd src && make install
make[2]: Entering directory `/usr/src/cluster-1.01.00/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C  M=/usr/src/cluster-1.01.00/cman-kernel/src modules USING_KBUILD=yes
make: Entering an unknown directory
make: *** M=/usr/src/cluster-1.01.00/cman-kernel/src: No such file or directory.  Stop.
make: Leaving an unknown directory
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel'
make: *** [install] Error 2
As you can see it says the directory is unknown but it definitly exists. Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install Compiling tools? SGFHK321 Linux - Newbie 7 07-10-2004 07:53 AM
compiling module-init-tools-0.9.14 Thames Mandriva 4 05-03-2004 07:58 PM
Compiling module-init-tools-3.0 Failed farmerdan Linux - General 4 03-02-2004 06:42 PM
compiling / building the dvd+rw-tools-5.13.4.7.4.tar.gz wahwah Linux - Newbie 3 10-19-2003 05:40 PM
Having Trouble compiling mii-tools LinuxRacr Linux - Software 1 06-07-2002 01:28 PM


All times are GMT -5. The time now is 10:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration