[Clfs-dev] CLFS compile asterisk error
db m
myheadblewoff at hotmail.com
Thu Sep 25 17:43:23 PDT 2008
Greets,
> From: satish
> To: clfs-support
> Date: Thu, 25 Sep 2008 13:12:41 -0400
> CC: clfs-dev
> Subject: [Clfs-dev] CLFS compile asterisk error
>
>
> Hi
>
> I have build CLFS ARM embedded-1.1.0 toolchain and its working fine
> my linux working fine but I got error when I compile asterisk on this
> toolchain
>
> Error is
>
> [CC] func_language.c -> func_language.o
> [LD] func_language.o -> func_language.so
> [CC] func_logic.c -> func_logic.o
> [LD] func_logic.o -> func_logic.so
> [CC] func_math.c -> func_math.o
> [LD] func_math.o -> func_math.so
> [CC] func_md5.c -> func_md5.o
> [LD] func_md5.o -> func_md5.so
> [CC] func_moh.c -> func_moh.o
> [LD] func_moh.o -> func_moh.so
> [CC] func_rand.c -> func_rand.o
> [LD] func_rand.o -> func_rand.so
> [CC] func_realtime.c -> func_realtime.o
> [LD] func_realtime.o -> func_realtime.so
> [CC] func_sha1.c -> func_sha1.o
> [LD] func_sha1.o -> func_sha1.so
> [CC] func_strings.c -> func_strings.o
> [LD] func_strings.o -> func_strings.so
> [CC] func_timeout.c -> func_timeout.o
> [LD] func_timeout.o -> func_timeout.so
> [CC] func_uri.c -> func_uri.o
> [LD] func_uri.o -> func_uri.so
> [CC] abstract_jb.c -> abstract_jb.o
> [CC] acl.c -> acl.o
> [CC] aescrypt.c -> aescrypt.o
> [CC] aeskey.c -> aeskey.o
> [CC] aestab.c -> aestab.o
> [CC] alaw.c -> alaw.o
> [CC] app.c -> app.o
> [CC] ast_expr2.c -> ast_expr2.o
> [CC] ast_expr2f.c -> ast_expr2f.o
> [CC] asterisk.c -> asterisk.o
> [CC] astmm.c -> astmm.o
> [CC] autoservice.c -> autoservice.o
> [CC] callerid.c -> callerid.o
> [CC] cdr.c -> cdr.o
> [CC] channel.c -> channel.o
> [CC] chanvars.c -> chanvars.o
> [CC] cli.c -> cli.o
> [CC] config.c -> config.o
> config.c: In function 'config_text_file_load':
> config.c:803: error: 'GLOB_NOMAGIC' undeclared (first use in this function)
> config.c:803: error: (Each undeclared identifier is reported only once
> config.c:803: error: for each function it appears in.)
> config.c:803: error: 'GLOB_BRACE' undeclared (first use in this function)
> make[1]: *** [config.o] Error 1
> make: *** [main] Error 2
> clfs:~/source/asterisk-1.4.7.1$
>
> Regards,
>
> Satish Patel
There is a thread on this error at ;
http://home.coming.dk/index.php/2007/09/
it would appear that ;
" The define is protected like so in uclibc
#if ( !defined __USE_POSIX2 || defined __USE_BSD || defined __USE_GNU ) && defined __UCLIBC_HAS_GNU_GLOB__
Along with this comment a bit futher down
* uClibc gnu glob does not support these */ "
Regards,
Don
_________________________________________________________________
Win a Hotmail Go-Kart to race at Bathurst. Enter today!
http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4602
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20080926/e60dc971/attachment-0001.htm>
More information about the Clfs-dev
mailing list