sms support possible?

Erin Yueh erin_yueh at openmoko.com
Tue Aug 21 09:03:49 CEST 2007


M. Dietrich wrote:
> 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 http://svn.openmoko.org/trunk/src/target/gsm/
> 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/libgsmd-machine_generic.so.0.0.0 \
> 	./usr/lib/gsmd/libgsmd-machine_generic.so.0 \
> 	./usr/lib/gsmd/libgsmd-machine_generic.so \
> 	./usr/lib/gsmd/libgsmd-vendor_ti.so.0.0.0 \
> 	./usr/lib/gsmd/libgsmd-vendor_ti.so.0 \
> 	./usr/lib/gsmd/libgsmd-vendor_ti.so \
> 	./usr/lib/gsmd/libgsmd-vendor_qc.so.0.0.0 \
> 	./usr/lib/gsmd/libgsmd-vendor_qc.so.0 \
> 	./usr/lib/gsmd/libgsmd-vendor_qc.so \
> 	./usr/lib/libgsmd.so.0.0.0 \
> 	./usr/lib/libgsmd.so.0 \
> 	./usr/lib/libgsmd.so \
> 	./usr/bin/libgsmd-tool
>
> 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,
> 	michael
>
>   
mmh..... i added below code in 'vendor.c'. I guess it is probably
defined by other header file, but not in gsmd directory.

#ifndef PATH_MAX
    #define PATH_MAX 1024
#endif


~Erin



More information about the gsmd-devel mailing list