Re: [mpls-linux-general] Problem installing zebra-ldp
Status: Beta
Brought to you by:
jleu
|
From: Miguel G. <mg...@fi...> - 2002-09-13 19:55:52
|
Hi Jim,
I'm almost sure that the zebra make file is point to my mpls-linux enabled
kernel.
Here's what I think is the problem:
list_head is defined in /usr/src/linux/include/linux/list.
strust list_head {
struct list_head *next, *prev;
};
I think that the problem is that in timer.h, 'list' is declared as:
struct list_head list;
when it should be: struct list_head *list;
Perhaps your gcc interpretes it properly. My version is 2.96, what's
yours?
When I correct it, it works but I get another error,
it seems that u32 (which appears in mpls.h)is not defined, I believe
(correct me if I'm wrong) that
it is supposed to be an unsigned integer, (I've got guint32 defined in
glibconfig.h). The version of gclib I have is 2.0. Maybe it is too old.
What version are you using?
Could that be the problem?
Thanks,
Miguel.
On Thu, 12 Sep 2002, James R. Leu wrote:
> Make sure the zebra make file is point to you mpls-linux enabled kernel source.
>
> Btw what version of glibc and gcc do you have?
>
> Jim
>
> On Thu, Sep 12, 2002 at 11:29:31AM -0300, Miguel Griot wrote:
> > Hi,
> > We are trying to install ldp-portable-0.200. We've already installed
> > mpls-linux-1.170 over kernel-2.4.18, and it is working.
> > The problem is that, after patching zebra-0.93a, when we try to compile
> > it, it gives us this error message:
> > /usr/src/linux/timer.h:17: field 'list' has incomplete type
> > /usr/src/linux/timer.h:21: confused by earlier errors, bailing out
> > make[2]:*** [vty.o] Error 1
> > make[1]:*** [all-recursive] Error 1
> >
> > list is defined as a list_head which is defined in linux/list.h.
> >
> > We will appreciate any help.
> > Thank you,
> >
> > Gabriel, Santiago and Miguel.
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > mpls-linux-general mailing list
> > mpl...@li...
> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>
> --
> James R. Leu
>
|