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

Re: [openss7] Compiling strss7-0.7.4



Patrick,

I haven't tried compiling with LiS-2.12 yet.  That is probably
your problem.  I ran 0.7.4 against LiS-2.10.

One of the changes from LiS-2.10 to 2.12 was a change in the
prototype for put and srv routines.  If you change the declarations
of these functions to

	static int sl_rput (queue_t *, mblk_t *);
	static int sl_rsrv (queue_t *);
	static int sl_wput (queue_t *, mblk_t *);
	static int sl_wsrv (queue_t *);

then it should work for you on LiS-2.12.

If you don't want to go rooting through the code, you can back
LiS out and install LiS-2.10 (which installs and runs well under
RedHat 7).

I can provide an LiS-2.12 patch if others are interested, but
as I am in Madrid at the moment, it will have to wait until next
week.

--Brian

root wrote:                                         Wed, 09 May 2001 18:53:58
> Hi:
> 
> I tried to compile strss7-0.7.4 just to play around with it.  It seems
> to go through quite smoothly until I get these errors:
> 
> cc1: warnings being treated as errors
> sl.c:134: warning: initialization from incompatible pointer type
> sl.c:135: warning: initialization from incompatible pointer type
> sl.c:148: warning: initialization from incompatible pointer type
> sl.c:149: warning: initialization from incompatible pointer type
> {standard input}: Assembler messages:
> {standard input}:15: Warning: Ignoring changed section attributes for
> .modinfo
> make[2]: *** [sl.o] Error 1
> make[2]: Leaving directory
> `/home/plam/downloads/openss7/strss7-0.7.4/drivers/sli'
> make[1]: *** [install] Error 2
> 
> I must have done something wrong (incompatible versions probably?).  Can
> somebody point me to the right direction?
> 
> I am using Redhat 7.0 with gcc 2.96, kernel 2.2.16 and LiS-2.12.
> 
> Thanks very much 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 ¦