Never mind, I screwed up.
I forgot - 
-D__KERNEL__ -DLINUX 

I still have other problems but I think I can work
those out.

Mark
--- Mark Chang <[EMAIL PROTECTED]> wrote:
> I downloaded and installed the package.
> In my stream application, I included
> #include <sys/stream.h> 
> #include <sys/stropts.h> 
> But I get errors as follow:
> gcc -Wall -O2 -DDEBUG1  -I /home/changm/scc-linux -I
> /usr/src/linux-2.4/include -I /usr/src/LiS/include  
> -c -o wp.o wp.c
> In file included from
> /usr/src/LiS/include/sys/LiS/queue.h:53,
>                  from
> /usr/src/LiS/include/sys/strmsg.h:53,
>                  from
> /usr/src/LiS/include/sys/stream.h:80,
>                  from wp.c:37:
> /usr/src/LiS/include/sys/lislocks.h:70: error:
> syntax
> error before "lis_atomic_t"
> /usr/src/LiS/include/sys/lislocks.h:70: warning: no
> semicolon at end of struct or union
> /usr/src/LiS/include/sys/lislocks.h:74: error:
> syntax
> error before '}' token
> /usr/src/LiS/include/sys/lislocks.h:74: warning:
> type
> defaults to `int' in declaration of
> `lis_spin_lock_t'
> /usr/src/LiS/include/sys/lislocks.h:74: warning:
> data
> definition has no type or storage class
> /usr/src/LiS/include/sys/lislocks.h:118: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:119: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:120: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:121: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:122: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:123: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:124: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:126: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:128: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:129: error:
> syntax
> error before '*' token
> /usr/src/LiS/include/sys/lislocks.h:130: warning:
> type
> defaults to `int' in declaration of
> `lis_spin_lock_alloc_fcn'
> 
> All I want to really do is use the APIs for
> allocb, linkb and the msgb sturcture.
> Is there an easier way to do this?
> Thanks,
> Mark
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> _______________________________________________
> Linux-streams mailing list
> [EMAIL PROTECTED]
>
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to