Compiling files
I am trying to install an ASUS System Web-based Management tool on an ASUS Server and I am having trouble installing the rpm's.
The rpm files are on the System board CD. There are three of them: Code:
aswm_core-2.0-312.el4rhat.x86_64.rpm Code:
[root@localhost x86_64]# rpm -ivh aswm_core-2.0-312.el4rhat.x86_64.rpm Code:
[root@localhost src]# ls Code:
[root@localhost drvsrc]# cd ghadrv Any help would be appreciated. |
You most likely just have to type make, although that usually depends on your kernel-source symlink being setup correctly (/lib/modules/`uname -r`/build -> your_kernel_sourcedir).
|
When I execute the make command, I am not sure what this output is telling me:
Code:
[root@localhost ghadrv]# pwd Code:
[root@localhost ghadrv]# uname -r Code:
[root@localhost 2.6.23.15-137.fc8]# pwd |
Quote:
|
Quote:
Code:
[root@localhost drvsrc]# pwd Code:
[root@localhost ghadrv]# pwd Code:
[root@localhost ghadrv]# ./load checkCompiler.mk Code:
1 # checkCompiler.mk Code:
[root@localhost iodrv]# rpm -qa | grep gcc |
Do you have both gcc and g++ installed? Do you have the which utility installed? Are both gcc and g++ in your PATH? If the answer to all of these questions is yes, you can safely replace checkCompiler.mk by the following two-line file:
Code:
CC := gcc |
Just came across your post and saw that you have the same goal as I have, prop your gcc is fine so here is the first part of the solution;
Quote:
Second red line will not work, as the file ghaio.o is not yet generated. The make command from the drvsrc directory will go to the appropriate directories and run the make command, during this process the *****.mod.o and the *****.o files are generated for your kernel version. After this process you will have a new directory in all the subdirs of drvsrc and will be able to load the files, but there is no need to do this manually. This is where is goes wrong for me now. I get an error 126: cannot execute file. My rights are all as they should be but.... So far all the info that is usefull to you, if you get further then this please let me know. |
All times are GMT -5. The time now is 11:44 AM. |