Building Asterisk on uclibc hardened

2007-09-25

Permalink 19:33:07, by jaervosz Email , 109 words, 594 views   English (EU)
Categories: Gentoo Tips, Gentoo, Universe/English

Building Asterisk on uclibc hardened

I've finally started building Asterisk again for my Soekris box, but right now 1.2.21.1-r1 fails with the following error:

config.c: In function `config_text_file_load':
config.c:562: error: `GLOB_NOMAGIC' undeclared (first use in this function)
config.c:562: error: (Each undeclared identifier is reported only once
config.c:562: error: for each function it appears in.)
config.c:562: error: `GLOB_BRACE' undeclared (first use in this function)
make: *** [config.o] Error 1

It appears that GLOB_NOMAGIC and GLOB_BRACE is properly defined in uclibc's glob.h so I'm not quite sure what the problem is and I don't really have the time to dig much into it today :(

PermalinkPermalink 1 commentTrackback (0)

Building Asterisk on uclibc hardened :  UberLord
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 */

Trackback address for this post:

This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

Comment from: UberLord [Visitor] Email
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 */
PermalinkPermalink 2007-09-26 @ 13:45

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Search

Categories

Varius local stuff

Friends

Gentoo

Too Cool for Internet Explorer