Re: Compiling in FC3

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

Just came across this error while testing a new autoconf 2.18.1 release
against SuSE 9.2 w/ 2.6.8-24.13 kernel.  It is not a kernel symbol
problem it is a build problem.  SuSE (and probably all the others too
lately) place <linux/autconf.h> and <linux/version.h> in a separate
build directory ('cause that's what the kernel makefiles do).  When
version.h fails to be included the proper LINUX_VERSION is not set and
neither LiS nor any other kernel code can check kernel versions.

This will be fixed when I release LiS-2.18.1 later this week.  I have
tested on 2.4 releases (RH7.2, RH9, WBEL3, FC1, Debian 3.0, SuSE 8.0)
and now SuSE 9.2, Mandrake 10.1 and have yet to test on FC3 and Centos
4.0.

In the mean time you could add something like (in the case of SuSE 9.2)
-I/usr/src/linux-obj/i686/default/include to your includes.

--brian

On Thu, 17 Mar 2005, Chris Devine wrote:

> I got no response, so I'm trying again... HELP...
> 
> Has anyone tried this? Any pointers would be appreciated!
> 
> ------------------------------
> 
> Hello all,
> 
> I tried to find the answer in the archive, but I don't seem to have access.
> 
> I am trying to compile LiS-2.18 with kernel 2.6.10-1.770_FC3. I am accepting
> the defaults in config. All goes well until:
> 
> In file included from /usr/src/LiS-2.18/head/mdep.c:26:
> /usr/src/LiS-2.18/head/linux-mdep.c: In function `lis_cdev_put':
> /usr/src/LiS-2.18/head/linux-mdep.c:1001: error: structure has no member
> named `refcount'
> make[1]: *** [mdep.o] Error 1
> make: *** [/usr/src/LiS-2.18/head/linux/streamshead.o] Error 2
> 
> Where did I go wrong? Or is this combination not yet supported?
> 
> TIA for any guidance,
> Chris
> 
> 
> __
> 
> 
> _______________________________________________
> Linux-streams mailing list
> [email protected]
> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

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