Summary:ASTERISK-16297: [patch] Reference in extconfig should force driver preload
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2010-06-28 15:13:06Date Closed:2010-07-01 10:35:53
Versions:Frequency of
Environment:Attachments:( 0) 20100628__preload.diff.txt
Description:Currently, we depend upon administrators to know exactly which modules to preload, when they are needed in extconfig for realtime.  This feature forces certain modules to be preload'ed, which fixes certain startup problems related to realtime databases.
Comments:By: Maciej Krajewski (jamicque) 2010-07-01 02:58:17

loader.c: In function 'ast_module_preload':
loader.c:873: error: too many arguments to function 'add_to_load_order'
loader.c: In function 'load_modules':
loader.c:990: error: 'struct load_order_entry' has no member named 'required'
loader.c:990: error: too many arguments to function 'add_to_load_order'
make[1]: *** [loader.o] B??d 1
make: *** [main] B??d 2

after patching on

By: leearcher (leearcher) 2010-07-01 03:19:23

Isn't it a patch against trunk?

By: Maciej Krajewski (jamicque) 2010-07-01 03:57:42

sorry, it works with trunk.
However it didin't fix my problem. Issue: 0017505

By: Evandro C├ęsar Arruda (ecarruda) 2010-07-01 07:46:30

Same of jamicque on compile

By: Maciej Krajewski (jamicque) 2010-07-01 07:48:12

On trunk it compiles ok.

By: Tilghman Lesher (tilghman) 2010-07-01 10:35:53

After a discussion with Russell yesterday, we're going to do with a declared module priority load order, instead of this patch.