List Info

Thread: Build error with fresh SVN trunk checkout




Build error with fresh SVN trunk checkout
user name
2006-08-27 17:00:31
I thought I'd check to see if the problem might be in the
build system 
somewhere before I have my head examined.

Using gmake 3.81.

chan_zap.c:11227:1: directives may not be used inside a
macro argument
chan_zap.c:11226:56: unterminated argument list invoking
macro 
"AST_MODULE_INFO"chan_zap.c:11230: warning: type
defaults to `int' in 
declaration of `AST_MODULE_INFO'
chan_zap.c:11231: parse error before '.' token
make[1]: *** [chan_zap.o] Error 1

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
Build error with fresh SVN trunk checkout
user name
2006-08-29 14:11:40
----- Brian Capouch <briancpalaver.net> wrote:
> chan_zap.c:11227:1: directives may not be used inside a
macro
> argument
> chan_zap.c:11226:56: unterminated argument list
invoking macro 
> "AST_MODULE_INFO"chan_zap.c:11230: warning:
type defaults to `int' in
> declaration of `AST_MODULE_INFO'
> chan_zap.c:11231: parse error before '.' token
> make[1]: *** [chan_zap.o] Error 1

Works fine for me with r41272. You didn't report a rev
number so I don't know if you have an older one or not, but
there haven't been any changes in that module lately
either.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
Build error with fresh SVN trunk checkout
user name
2006-08-29 23:03:45
Kevin P. Fleming wrote:
> ----- Brian Capouch <briancpalaver.net> wrote:
> 
>>chan_zap.c:11227:1: directives may not be used
inside a macro
>>argument
>>chan_zap.c:11226:56: unterminated argument list
invoking macro 
>>"AST_MODULE_INFO"chan_zap.c:11230:
warning: type defaults to `int' in
>>declaration of `AST_MODULE_INFO'
>>chan_zap.c:11231: parse error before '.' token
>>make[1]: *** [chan_zap.o] Error 1
> 
> 
> Works fine for me with r41272. You didn't report a rev
number so I don't know if you have an older one or not, but
there haven't been any changes in that module lately
either.
> 

It seems to be a compiler version issue.  I have probably
missed 
somewhere a requirement for a "greater than"
version number.

In my case, using gcc v 3.2.1.  I removed the #ifdef
embedded in the 
macro and it compiled cleanly.

Next is to upgrade the compiler.

FYI.

B.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
Build error with fresh SVN trunk checkout
user name
2006-08-29 23:30:33
----- Brian Capouch <briancpalaver.net> wrote:
> In my case, using gcc v 3.2.1.  I removed the #ifdef
embedded in the 
> macro and it compiled cleanly.
> 
> Next is to upgrade the compiler.

Please let us know if that is the issue... I don't remember
that one being reported before.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
Build error with fresh SVN trunk checkout
user name
2006-08-30 00:03:29
----- Kevin P. Fleming <kpflemingdigium.com> wrote:
> Please let us know if that is the issue... I don't
remember that one
> being reported before.

And if it was (or even if it was not)... I've already
replaced that #ifdef-inside-macro-call stuff with a simpler
method.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )