On Thu, Mar 10, 2005 at 04:06:48PM +0800, ?????x wrote:
> Hi James,
>=20
> I can compile the latest code downloaded from the P4 server now.
>=20
> Because there are some syntax problems when I copy the code to my Linux e=
nvironment , but it's OK now.
>=20
> Now, I face another problem after "make". I can't run zebra. When I type =
"./zebra" there is an error:
> [root@localhost zebra]# ./zebra
> Aborted
My guess is that it is being compiled with shared libraries and
and for some reason that is not working when you execure it
from the zebra directory (it probably wants you to install it).
I suggest compiling it with out shared libraries if you're going to
run it from the zebra directory.
=2E/configure --disable-shared
BTW that is how I compile mine as well.
BTW2 Make sure to 'p4 sync' every now and then. For example last
night I submitted some fixes for the 'assert' you saw. The found the
bug that was causing that, ofcourse I touch many other things as well, but
the particular bug was in ldp_vty.c in the code for 'no mpls ip' I was sett=
ing
li->admin_up =3D MPLS_BOOL_FALSE before calling ldp_interface_delete(). If=
you
follow the code path, you will see that shutting down an entity can only
happen when li->admin_up =3D=3D MPLS_BOOL_TRUE, the fix was to change the o=
rder
of operation. Like I said, I also changed otehr code as well, so it will be
hard to pick just that change out from my submissions last night. Although
now, I fear I have exposed a but in ldp-portable. I need to dig futher,
but no matter what I cannot get an entity to 'delete' (when you 'trace all'
you will see 'iff deleted' or 'addr deleted', I never see 'entity deleted'
which should haven after doing a 'no mpls ip'.
> What's the problem?
> Thanks
>=20
> Timothy
> 2005.03.10
>=20
--=20
James R. Leu
jl...@mi...
|