[Clfs-dev] CLFS compile asterisk error

wwh04660 at ucmo.edu wwh04660 at ucmo.edu
Thu Sep 25 18:00:35 PDT 2008


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



More information about the Clfs-dev mailing list