Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-06 Thread Dan
Hi,

- Original Message - 
From: "Dave Cotton" <[EMAIL PROTECTED]>
To: "Asterisk List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 11:55 PM
Subject: Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update


> ...
> In the subject a CVS update was mentioned, you said you did a checkout.
> This may be the same problem as I've just answered in another post with
> term_color etc.  CVS update, for whatever reason, may not have updated
> correctly, I don't know that that is the case, but two posts citing the
> same type of problem...

Thanks a lot.
I have deleted all the source tree and then 'cvs checkout' again and 'make
clean'.
Now everything works as expected.

Best regards,
Dan


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-05 Thread Dan
Hi,

- Original Message - 
From: "Tilghman Lesher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 10:05 PM
Subject: Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update


> On Wednesday 05 November 2003 12:03, Dan wrote:
> >  [app_voicemail2.so]WARNING[1074412256]: File loader.c, Line 232
> > (ast_load_resource): /usr/lib/asterisk/modules/app_voicemail2.so:
> > undefined symbol: ast_localtime
> > WARNING[1074412256]: File loader.c, Line 400 (load_modules):
> > Loading module app_voicemail2.so failed!
>
> I don't know what you're doing wrong, because I just checked out CVS
> and tried this, and it works fine.  ast_localtime() is located in the
> stdtime subdirectory of asterisk.

Those are the involved files :
-rw-r--r--1 root root80346 Nov  5 19:30 app_voicemail2.c
in ./apps
-rw-r--r--1 root root37529 Oct 30 20:13 localtime.c
in ./stdtime

in localtime.c this is the only place where ast_localtime is present:

struct tm *
ast_localtime(timep, p_tm, zone)
const time_t * consttimep;
struct tm *p_tm;
const char * const  zone;

Any other idea?

Thanks,
Dan


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-05 Thread Dave Cotton
On Wed, 2003-11-05 at 21:05, Tilghman Lesher wrote:
> On Wednesday 05 November 2003 12:03, Dan wrote:
> >  [app_voicemail2.so]WARNING[1074412256]: File loader.c, Line 232
> > (ast_load_resource): /usr/lib/asterisk/modules/app_voicemail2.so:
> > undefined symbol: ast_localtime
> > WARNING[1074412256]: File loader.c, Line 400 (load_modules):
> > Loading module app_voicemail2.so failed!
> 
> I don't know what you're doing wrong, because I just checked out CVS
> and tried this, and it works fine.  ast_localtime() is located in the
> stdtime subdirectory of asterisk.

In the subject a CVS update was mentioned, you said you did a checkout. 
This may be the same problem as I've just answered in another post with
term_color etc.  CVS update, for whatever reason, may not have updated
correctly, I don't know that that is the case, but two posts citing the
same type of problem...
-- 
Dave Cotton <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-05 Thread Steven Critchfield
On Wed, 2003-11-05 at 14:05, Tilghman Lesher wrote:
> On Wednesday 05 November 2003 12:03, Dan wrote:
> >  [app_voicemail2.so]WARNING[1074412256]: File loader.c, Line 232
> > (ast_load_resource): /usr/lib/asterisk/modules/app_voicemail2.so:
> > undefined symbol: ast_localtime
> > WARNING[1074412256]: File loader.c, Line 400 (load_modules):
> > Loading module app_voicemail2.so failed!
> 
> I don't know what you're doing wrong, because I just checked out CVS
> and tried this, and it works fine.  ast_localtime() is located in the
> stdtime subdirectory of asterisk.

maybe they didn't cvs update -d ? This would get any files that where
not there before.
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-05 Thread Tilghman Lesher
On Wednesday 05 November 2003 12:03, Dan wrote:
>  [app_voicemail2.so]WARNING[1074412256]: File loader.c, Line 232
> (ast_load_resource): /usr/lib/asterisk/modules/app_voicemail2.so:
> undefined symbol: ast_localtime
> WARNING[1074412256]: File loader.c, Line 400 (load_modules):
> Loading module app_voicemail2.so failed!

I don't know what you're doing wrong, because I just checked out CVS
and tried this, and it works fine.  ast_localtime() is located in the
stdtime subdirectory of asterisk.

-Tilghman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Error in app_voicemail2.so after CVS update

2003-11-05 Thread Dan
Hi all,

I have done some minutes ago a full CVS update, like that:

cvs checkout zaptel zapata libpri asterisk
cd zaptel
make clean ; make install
cd ../zapata
make clean ; make install
cd ../libpri
make clean ; make install
cd ../asterisk
make clean ; make install

When I try to start astersik with asterisk -vvc I get the following
error and the program stops:

 [app_voicemail2.so]WARNING[1074412256]: File loader.c, Line 232
(ast_load_resource): /usr/lib/asterisk/modules/app_voicemail2.so: undefined
symbol: ast_localtime
WARNING[1074412256]: File loader.c, Line 400 (load_modules): Loading module
app_voicemail2.so failed!

if I try to add in modules.conf the line:
noload => app_voicemail2.so

I get the following error when starting *:

 [app_sayunixtime.so]WARNING[1074412256]: File loader.c, Line 232
(ast_load_resource): /usr/lib/asterisk/modules/app_sayunixtime.so: undefined
symbol: ast_say_date_with_format
WARNING[1074412256]: File loader.c, Line 400 (load_modules): Loading module
app_sayunixtime.so failed!

If I put:
noload => app_sayunixtime.so

then * starts ok, but I cannot use voicemail2 application.

What can I do to solve this problem?

Thanks,
Dan




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users