[Clfs-dev] CLFS compile asterisk error

Satish Patel satish at linuxbug.org
Fri Sep 26 06:37:39 PDT 2008


Regards,

Satish Patel


Quoting wwh04660 at ucmo.edu:

>
> On Sep 25, 2008, at 12:12 PM, satish patel wrote:
>
>>
>> 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] 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)
>
> Add #define GLOB_NOMAGIC 0   before it in config.c
>
> Might have to do the same for GLOB_BRACE
>
> GLOB_NOMAGIC, GLOB_BRACE, and maybe on other or all of GNU GLOB
> functions aren't supported in uClibc.
>
> There's a patch for glob.h to enhance it for nptl, and I doubt ya need
> to edit the header.
>
> -William
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Which header i need to change in this case ? if you know about this  
error kindly guide me what to do and how to do ?




More information about the Clfs-dev mailing list