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

Re: [openss7] Compiling strss7-0.7.4



Patrick,

Looks like something strange in your /usr/src/linux/include/linux/version.h
file.  There appears to be 4 releases there instead of one.  Check the
file.  The Makefile looks for a line in the file like:

	#define UTS_RELEASE "2.2.12-20"  <---------
                    ^^^
	#define LINUX_VERSION_CODE 131596
	#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

For this the makefile uses a little awk command:

VER = $(shell awk -F\" '/REL/ {print $$2}' /usr/src/linux/include/linux/version.h)

Works fine for me on a 2.2.16 kernel and a 2.2.18 kernel, so you must
have something funny in the file.

If you can't get around it, you could comment the lines with $(VER) in them
out in the Makefiles and the modules will just install in /lib/modules/misc.

--Brian

Patrick Lam wrote:                               Thu, 10 May 2001 14:44:13
> Thanks Brian.
> 
> I tried that with LiS-2.10, and it went fine as long as compile is concerned.
> However, when I tried to make install, I keep getting the following errors:
> 
> install -c streams-sl.o /lib/modules/2.2.16-22smp 2.2.16-22BOOT
> 2.2.16-22enterprise 2.2.16-22/misc
> install: `/lib/modules/2.2.16-22smp' is a directory
> install: `2.2.16-22BOOT' is a directory
> install: `2.2.16-22enterprise' is a directory
> make[2]: *** [install] Error 1
> make[2]: Leaving directory
> `/home/plam/downloads/openss7/strss7-0.7.4/drivers/sli'
> make[1]: *** [install] Error 2
> 
> 
> What has gone wrong?
> 
> Again, I am using Redhat 7.0 with gcc 2.96, kernel 2.2.16 and LiS-2.10.
> 
> Thanks very much again in advance,
> 
> Patrick.
> 

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
bidulock@openss7.org    ¦ 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 ¦