McRib
Neuer User
- Mitglied seit
- 27 Jan 2005
- Beiträge
- 126
- Punkte für Reaktionen
- 0
- Punkte
- 0
Unter Ubuntu 7.04 ging das Compilen noch vergleichsweise problemlos, aber unter 7.10 gibt's folgenden Output:
Code:
$ make
sh ./create_config.sh "/usr/include"
Creating config file
====================
Checking Asterisk version...
* found asterisk 1.4
Build PARK functions (y/n)[n]?
Build PICKUP functions (y/n)[n]?
Use realtime functionality (y/n)[n]?
* found 'struct ast_channel_tech'
* found 'ast_bridged_channel'
* found 'struct ast_callerid'
* found 'AST_MAX_CONTEXT'
* found 'MAX_MUSICCLASS'
* no 'AST_MAX_ACCOUNT_CODE'
* found 'AST_CONTROL_HOLD'
* found 'ast_config_load'
* found 'ast_copy_string'
* found 'AST_FLAG_MOH'
* found endian.h
* found strings.h
* found new ast_app_has_voicemail
* found new ast_get_hint
* found new devicestate.h
* found AST_DEVICE_RINGING
* found 'ast_group_t'
* found 'ast_app_separate_args'
* found AST_EXTENSION_RINGING
* found ast_string_field_funcs
* found new ast_cli_generator definition
config.h complete.
Now compiling .... chan_sccp.c 1855 lines
chan_sccp.c:31:22: error: asterisk.h: No such file or directory
make: *** [.tmp/chan_sccp.o] Error 1
Code:
$ dpkg --list | grep asterisk
ii asterisk 1:1.4.10~dfsg-1 Open Source Private Branch Exchange (PBX)
ii asterisk-config 1:1.4.10~dfsg-1 config files for asterisk
ii asterisk-dev 1:1.4.10~dfsg-1 Development files for asterisk
ii asterisk-prompt-de 2.0-1 German voice prompts for the Asterisk PBX
ii asterisk-sounds-main 1:1.4.10~dfsg-1 Core Sound files for Asterisk (English)
$ locate asterisk.h
/usr/include/asterisk/asterisk.h