PDA

View Full Version : Airos compiling error


abbasmakki
01-09-2009, 05:52 AM
dear Sir
this is my steps to compile the SDK:

# mkdir ubnt
# cd ubnt
# wget http://www.ubnt.com/downloads/sdk/toolchain-mips-ls_0.1-1.deb
# dpkg -i toolchain-mips-ls_0.1-1.deb
# wget http://www.ubnt.com/downloads/sdk/ubnt-lsX-SDK-v3.2.3743.tar.bz2
# tar xjf ubnt-lsX-SDK-v3.2.3743.tar.bz2
# cd ubnt-lsX-SDK-v3.2.3743
# make xs5

but it get error as this:

make -C conf CURRENT=xs5 || exit 1
make[1]: Entering directory `/ubnt/ubnt-lsX-SDK-v3.2.3743/conf'
Makefile:5: *** "No such directory xs5 !". Stop.
make[1]: Leaving directory `/ubnt/ubnt-lsX-SDK-v3.2.3743/conf'
make: *** [xs5] Error 1
debian:/ubnt/ubnt-lsX-SDK-v3.2.3743#

what is going wrong?

best regards

UBNT-keba
01-09-2009, 07:28 AM
Make sure that
/ubnt/ubnt-lsX-SDK-v3.2.3743/conf/xs5 exist.

There MUST be 2 directories in conf directory at leats (xs2 and xs5)

BTW: what is shell? Is it bash, dash, ash?

abbasmakki
01-09-2009, 11:58 AM
yes the folders exisit
i am using debiab sarg and bash.
do i extract the source tree to special folder?(i extract them into /ubnt/)
i check by 3.0 and got same error.

abbasmakki
01-10-2009, 05:32 AM
is there anyone to solve my problem? :(

UBNT-keba
01-10-2009, 05:56 AM
What is you gnu make version?

make -v


Lines

ifeq ($(realpath $(CURRENT)),)
$(error "No such directory $(CURRENT)!")
endif

in conf/Makefile does not work as expected on your distro. Will try to figure out why it is like that.

UBNT-keba
01-10-2009, 06:29 AM
Can you check is "realpath" used as external program or as make internal command.

Just type realpath in your console.
You should get something like this if it is external command:
realpath: need at least one filename
Usage:
realpath [-s|--strip] [-z|--zero] filename ...
realpath -h|--help
realpath -v|--version

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translations by vB Enterprise Translator 3.5.4