<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Greets,<br><br>> From: satish<br>> To: clfs-support<br>> Date: Thu, 25 Sep 2008 13:12:41 -0400<br>> CC: clfs-dev<br>> Subject: [Clfs-dev] CLFS compile asterisk error<br>> <br>> <br>> Hi<br>> <br>>        I have build CLFS ARM embedded-1.1.0 toolchain and its working fine<br>> my linux working fine but I got error when I compile asterisk on this<br>> toolchain<br>> <br>> Error is <br>> <br>>   [CC] func_language.c -> func_language.o<br>>    [LD] func_language.o -> func_language.so<br>>    [CC] func_logic.c -> func_logic.o<br>>    [LD] func_logic.o -> func_logic.so<br>>    [CC] func_math.c -> func_math.o<br>>    [LD] func_math.o -> func_math.so<br>>    [CC] func_md5.c -> func_md5.o<br>>    [LD] func_md5.o -> func_md5.so<br>>    [CC] func_moh.c -> func_moh.o<br>>    [LD] func_moh.o -> func_moh.so<br>>    [CC] func_rand.c -> func_rand.o<br>>    [LD] func_rand.o -> func_rand.so<br>>    [CC] func_realtime.c -> func_realtime.o<br>>    [LD] func_realtime.o -> func_realtime.so<br>>    [CC] func_sha1.c -> func_sha1.o<br>>    [LD] func_sha1.o -> func_sha1.so<br>>    [CC] func_strings.c -> func_strings.o<br>>    [LD] func_strings.o -> func_strings.so<br>>    [CC] func_timeout.c -> func_timeout.o<br>>    [LD] func_timeout.o -> func_timeout.so<br>>    [CC] func_uri.c -> func_uri.o<br>>    [LD] func_uri.o -> func_uri.so<br>>    [CC] abstract_jb.c -> abstract_jb.o<br>>    [CC] acl.c -> acl.o<br>>    [CC] aescrypt.c -> aescrypt.o<br>>    [CC] aeskey.c -> aeskey.o<br>>    [CC] aestab.c -> aestab.o<br>>    [CC] alaw.c -> alaw.o<br>>    [CC] app.c -> app.o<br>>    [CC] ast_expr2.c -> ast_expr2.o<br>>    [CC] ast_expr2f.c -> ast_expr2f.o<br>>    [CC] asterisk.c -> asterisk.o<br>>    [CC] astmm.c -> astmm.o<br>>    [CC] autoservice.c -> autoservice.o<br>>    [CC] callerid.c -> callerid.o<br>>    [CC] cdr.c -> cdr.o<br>>    [CC] channel.c -> channel.o<br>>    [CC] chanvars.c -> chanvars.o<br>>    [CC] cli.c -> cli.o<br>>    [CC] config.c -> config.o<br>> config.c: In function 'config_text_file_load':<br>> config.c:803: error: 'GLOB_NOMAGIC' undeclared (first use in this function)<br>> config.c:803: error: (Each undeclared identifier is reported only once<br>> config.c:803: error: for each function it appears in.)<br>> config.c:803: error: 'GLOB_BRACE' undeclared (first use in this function)<br>> make[1]: *** [config.o] Error 1<br>> make: *** [main] Error 2<br>> clfs:~/source/asterisk-1.4.7.1$<br>> <br>> Regards,<br>> <br>> Satish Patel <br><br>There is a thread on this error at ;<br><br>http://home.coming.dk/index.php/2007/09/<br><br><br>it would appear that ;<br><br>"   The define is protected like so in uclibc<br>
<br>
#if ( !defined __USE_POSIX2 || defined __USE_BSD || defined __USE_GNU ) && defined __UCLIBC_HAS_GNU_GLOB__<br>
<br>
Along with this comment a bit futher down<br>
* uClibc gnu glob does not support these */   "<br><br><br>Regards,<br><br>Don<br><br /><hr />Enter today! <a href='http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4602' target='_new'>Win a Hotmail Go-Kart to race at Bathurst.</a></body>
</html>