Hi William,
this patch may fix your problem:

diff -BurN wmi-1.3.14/Samba/source/pidl/idl.yp wmi-1.3.14/Samba/source/pidl/idl.yp --- wmi-1.3.14.unpatched/Samba/source/pidl/idl.yp 2008-07-30 21:44:55.000000000 +0200 +++ wmi-1.3.14.patched/Samba/source/pidl/idl.yp 2014-08-12 21:51:22.594113995 +0200
@@ -483,7 +483,7 @@

     for ($parser->YYData->{INPUT}) {
         if (/^\#/) {
-            if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
+            if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
                 $parser->YYData->{LINE} = $1-1;
                 $parser->YYData->{INPUT_FILENAME} = $2;
                 goto again;
diff -BurN wmi-1.3.14/Samba/source/pidl/lib/Parse/Pidl/IDL.pm wmi-1.3.14/Samba/source/pidl/lib/Parse/Pidl/IDL.pm --- wmi-1.3.14.unpatched/Samba/source/pidl/lib/Parse/Pidl/IDL.pm 2008-07-30 21:44:55.000000000 +0200 +++ wmi-1.3.14.patched/Samba/source/pidl/lib/Parse/Pidl/IDL.pm 2014-08-12 21:53:11.670119274 +0200
@@ -3169,7 +3169,7 @@

     for ($parser->YYData->{INPUT}) {
         if (/^\#/) {
-            if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
+            if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
                 $parser->YYData->{LINE} = $1-1;
                 $parser->YYData->{INPUT_FILENAME} = $2;
                 goto again;


On 3/12/2015 2:50 PM, William Scott Lockwood III wrote:
Hi there list,
   When trying to add WMI support, I have downloaded the copy of
wmi-1.3.14 and have applied the 5 patches (3v2 was used, not 3 for the
3rd patch) against it, I have run both the autogen.sh and configure
scripts without errors. However, once I execute 'make proto all' I get
the following:

[root@localhost source]# make proto all
defined(@array) is deprecated at ./pidl/pidl line 583.
         (Maybe you should just omit the defined()?)
Compiling ./librpc/idl/atsvc.idl
/usr/include/stdc-predef.h:0: Syntax error near '3'
Failed to parse ./librpc/idl/atsvc.idl at ./pidl/pidl line 583.
make: *** [idl] Error 1

Anyone solve this?

--
W. Scott Lockwood III
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to