Re: TLI failure

"Brian F. G. Bidulock" <[email protected]>
Newsgroups gmane.linux.kernel.streams
Organization http://www.openss7.org/
Message-ID <[email protected]>
Robert,

Thanks for the configure output...

What have you done to your system?  The following are all problems:

> checking for kernel modules directory... /lib/modules/2.4.21-27.0.2.ELsmp
> checking for kernel build directory /lib/modules/2.4.21-27.0.2.ELsmp/build... no
> checking for kernel build directory /lib/modules/2.4.21-27.0.2.ELsmp/build... no
> checking for kernel build directory /usr/src/linux-2.4.21-27.0.2.ELsmp... no
> checking for kernel build directory /usr/src/linux-2.4... yes
> checking for kernel build directory... /usr/src/linux-2.4

A properly installed kernel-smp-2.4.21-27.0.2.EL.i686.rpm has 
/lib/modules/2.4.21-27.0.2.ELsmp/build as a symbolic link to
/usr/src/linux-2.4.21-27.0.2.EL

Perhaps you do not have /usr/src/linux-2.4.21-27.0.2.EL because
you do not have kernel-source-2.4.21-17.0.2.EL.i386.rpm installed?

Add the following option to configure:

	--with-k-build=/lib/modules/2.4.21-27.0.2.ELsmp/build

> checking for kernel system map /usr/src/linux-2.4/System.map-2.4.21-27.0.2.ELsmp... no
> checking for kernel system map /usr/src/linux-2.4/System.map... yes
> checking for kernel system map... /usr/src/linux-2.4/System.map

A properly installed kernel-smp-2.4.21-27.0.2.EL.i686.rpm has 
/boot/System.map-2.4.21-27.0.2.ELsmp

Add the following option to configure:

	--with-k-sysmap=/boot/System.map-2.4.21-27.0.2ELsmp

> checking for kernel headers... /usr/src/linux-2.4/include

Proper kernel headers are /lib/modules/2.4.21-27.0.2.ELsmp/build/include
The k-build option would cure this.

> checking for kernel arch directory... /usr/src/linux-2.4/arch

Proper kernel arch dir is /lib/modules/2.4.21-27.0.2.ELsmp/build/arch
The k-build option would cure this.

> checking for kernel mach directory... /usr/src/linux-2.4/arch/i386

Proper kernel mach dir is /lib/modules/2.4.21-27.0.2.ELsmp/build/arch/i386
The k-build option would cure this.

> configure: final kern CPPFLAGS  = -D__KERNEL__ -DLINUX -nostdinc
>   -I/usr/src/linux-2.4/include
>   -I/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include
> configure: final kern CFLAGS    = -Wall -Wno-trigraphs -O2
>   -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
>   -mpreferred-stack-boundary=2 -march=i686

Things are well messed up by here.  And, I don't see -freorder-blocks in these
flags.  Edit resulting Makefile to include -freorder-blocks

======

You do know that you need kernel-smp-2.4.21-17.0.2.EL.i686.rpm correctly
installed as well as kernel-source-2.4.21-17.0.2.EL.i386.rpm correctly
installed?

Do me a favor and run the following two commands on your system:

  rpmverify -v kernel-smp-2.4.21-17.0.2.EL

  rpmverify -v kernel-source-2.4.21-17.0.2.EL

Any output from these two commands indicates an installation problem that
you need to fix.  From the looks of it you are missing the source package.

Qutie frankly, its amazing that the thing runs at all.


--brian


On Thu, 24 Feb 2005, [email protected] wrote:

> 
> 
> Dear Brian and Christian,
> 
> just for completeness,
> 
> the following is the output from the test runs, and the configur files are
> attached:-
> 
> 


-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
[email protected]    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.