sms support possible?

M. Dietrich mdt at
Mon Aug 20 14:06:28 CEST 2007

On Mon, Aug 20, 2007 at 10:44:15AM +0800, Erin Yueh wrote:
> pHilipp Zabel wrote:

> LOCAL machine:
> ...

what i did:

#!/bin/sh -e
cd /tmp
rm -rf gsm
svn co
cd gsm
export PATH=$OMDIR/build/tmp/cross/bin:$PATH
autoreconf --install --force
CC=arm-linux-gcc CFLAGS="-march=armv4t -mtune=arm920t" ./configure --prefix=/usr --host=arm-linux --target=arm-linux
mkdir -p dist
make DESTDIR=`pwd`/dist install
cd dist
tar jcvf ../bin-gsm.tar.bz2 \
	./usr/sbin/gsmd \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/gsmd/ \
	./usr/lib/ \
	./usr/lib/ \
	./usr/lib/ \

i get an error with make...install: PATH_MAX is not defined while
limits.h is included (looking at the code i see another bug, buf is
too long: PATH_MAX is including the \0, also line 77 is not needed at
all). but why is it undfined at all? didn't i setup the env correctly?
i replaced PATH_MAX by 4096 and everything compiles fine.

any ideas?

best regards,

More information about the gsmd-devel mailing list