Re: 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.


On Thu, 2004-10-14 at 12:38, Steve Howlett wrote:
> >Hello,
> >
> >I downloaded linux kernel 2.6.8.1 from kernel.org and proceeded to
> >compile and install it.
> >
> >The compilation is somewhat different than with the 2.4 kernels I'm more
> >accustomed to.
> >
> >Everything seems to go well enough (although make gconfig didn't work)
> >until
> > make modules_install
> >
> >After much installation followed by much reflection, depmod reports
> >rafts and rafts of unknown symbols.
> >
> >I seem to have taken a basic misstep somewhere and would appreciate
> >being put back on track.
> >
> >This is with Fedora 2.
> 
> 
> >-- 
> >John Francis Lee <jfl@xxxxxxxxxxxx>
> 
> 
> You need to install updated tools module_init_tools & modutils. You can find them at http://www.kernel.org/pub/linux/kernel/people/rusty/modules. 
> 
> This and what else to expect when upgrading to a 2.6 kernel can be found in this document : http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt.
> 
> Hope this helps
> Steve
-- 
John Francis Lee <jfl@xxxxxxxxxxxx>


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

  Powered by Linux