[Clfs-support] CLFS compile asterisk error
Binghoo Dang
dangbinghoo at gmail.com
Sat Sep 27 20:09:41 PDT 2008
satish patel 写道:
> 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
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>
This is not your toolchain fault. Just check your source and your
configuration.
More information about the Clfs-support
mailing list