I wanted to add a custom program for 1.4 into my astlinux.

I've downloaded the development environment, and followed the 
instructions from the top.

It all worked (eventually - I had to "make" three or four times).

I then copied this custom program into build_i586/asterisk-1.4.18/

I also went into build_i586/asterisk-1.4.18/ and "make menuselect" to 
select the "DONT_OPTIMIZE" flag

Now, when I "make", I get the following:

[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] astobj2.c -> astobj2.o
asterisk.c:130:25: error: ../defaults.h: No such file or directory
asterisk.c:167: error: 'AST_TMP_DIR' undeclared here (not in a function)
asterisk.c: In function 'ast_readconfig':
asterisk.c:2363: error: 'AST_CONFIG_FILE' undeclared (first use in this 
function)
asterisk.c:2363: error: (Each undeclared identifier is reported only once
asterisk.c:2363: error: for each function it appears in.)
asterisk.c:2374: error: 'AST_CONFIG_DIR' undeclared (first use in this 
function)
asterisk.c:2375: error: 'AST_SPOOL_DIR' undeclared (first use in this 
function)
asterisk.c:2376: error: 'AST_MODULE_DIR' undeclared (first use in this 
function)
asterisk.c:2378: error: 'AST_VAR_DIR' undeclared (first use in this 
function)
asterisk.c:2379: error: 'AST_DATA_DIR' undeclared (first use in this 
function)
asterisk.c:2380: error: 'AST_LOG_DIR' undeclared (first use in this 
function)
asterisk.c:2381: error: 'AST_AGI_DIR' undeclared (first use in this 
function)
asterisk.c:2382: error: 'AST_DB' undeclared (first use in this function)
asterisk.c:2383: error: 'AST_KEY_DIR' undeclared (first use in this 
function)
asterisk.c:2384: error: 'AST_PID' undeclared (first use in this function)
asterisk.c:2385: error: 'AST_SOCKET' undeclared (first use in this function)
asterisk.c:2386: error: 'AST_RUN_DIR' undeclared (first use in this 
function)
make[2]: *** [asterisk.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [main] Error 2


Whaa ?

Julian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to