Re : make modules_install : unknown symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Thank you Steve.

I got the modutils-2.4.21-22.src.rpm as you suggested,
rpm -Uvh modutils-2.4.21-22.src.rpm
cd /usr/src/redhat/SOURCES/
tar xzvf modutils-2.4.21.tar.gz
cd modutils-2.4.21
./configure
make
which produced :
make[1]: Entering directory
`/usr/src/redhat/SOURCES/modutils-2.4.21/util'
gcc -M -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c modstat.c
meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c
sys_oim.c xftw.c > .depend
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xmalloc.o xmalloc.c
In file included from xmalloc.c:22:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xrealloc.o xrealloc.c
In file included from xrealloc.c:22:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrcat.o xstrcat.c
In file included from xstrcat.c:22:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrdup.o xstrdup.c
In file included from xstrdup.c:24:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xsystem.o xsystem.c
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o logger.o logger.c
In file included from logger.c:30:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o modstat.o modstat.c
In file included from modstat.c:33:
../include/util.h:42: warning: built-in function `log' declared as
non-function
modstat.c: In function `new_get_kernel_info':
modstat.c:203: warning: deprecated use of label at end of compound
statement
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -DHAVE_WORDEXP=1
-DHAVE_GLOB=1 -c meta_expand.c
In file included from meta_expand.c:45:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o config.o config.c
In file included from config.c:64:
../include/util.h:42: warning: built-in function `log' declared as
non-function
config.c: In function `config_add':
config.c:1498: warning: deprecated use of label at end of compound
statement
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o snap_shot.o
snap_shot.c
In file included from snap_shot.c:33:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o arch64.o arch64.c
In file included from arch64.c:24:
../include/util.h:42: warning: built-in function `log' declared as
non-function
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o gzfiles.o gzfiles.c
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o sys_nim.o sys_nim.c
gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o sys_oim.o sys_oim.c
sys_oim.c:36: error: syntax error before "old_sys_init_module"
make[1]: *** [sys_oim.o] Error 1
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/modutils-2.4.21/util'
make: *** [all] Error 2



Am I doing something wrong here? Thanks again for your help.


Did you install module-init-tools first?

Something else to look at worked good for me : http://www.kerneltrap.org/node/view/2465

Steve


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux