[mpls-linux-general] problem in running mplsadm
Status: Beta
Brought to you by:
jleu
|
From: Farazad F. <Far...@sa...> - 2004-10-05 14:16:51
|
Hi James
I will run mplsadm-1.935 and change according this text ;(mpls linux how
to)
{
Change directory to mpls-linux/utils/ then check the following
environment variables: CC, CFLAGS , in your makefile (i.e.
/usr/src/mpls-linux/utils/Makefile ).
Usually you should do fine with the default values, but it's ok to
check
anyway. If you're not satisfied :) edit and modify as necessary.
You can modify the Makefile in your mpls-linux/utils/ directory
to look like this :
--snip--
CC=gcc
CFLAGS = -O2 -Wall
#-g -Wall
#
all: mplsadm
strip ./mplsadm
#
#
mplsadm: netlink.o mplsadm.o
gcc -O2 -static -o $@ $^
#old: gcc -g -static -o $@ $^
clean:
rm -rf *.o mplsadm
#
--snip--
}
and Add the following lines to my /etc/profile :
--snip--
export MPLSHOME=/usr/src/mpls-linux
export PATH=$PATH:$MPLSHOME/scripts:$MPLSHOME/utils
--snip--
but when I use ./make in the /mpls-linux/utils this error is sent
Makefile:6: *** missing separator (did you mean TAB instead of 8 spaces?).
Stop
.
and I need kernel-2.6.6 for suse.
please help me.
best regards.
|