Hi Russell & Thomas,

When I am adding the new header file in bridge.c file depending on the order of 
the header file I am seeing different errors i.e. if I place the header file in 
the end of header file section i.e. before the declaration of VLOG module 
declaration  then I am facing the issue like

./include/openvswitch/vlog.h:284:16: error: expected ';', identifier or '(' 
before 'struct'
         extern struct vlog_module VLM_##MODULE;

If I place the header file in the middle of the header file section ie before 
seq.h  I am facing the error like

lib/seq.h:121:1: error: expected ';', identifier or '(' before 'struct'
 struct seq *seq_create(void);

Depending on the placement of the header file in declaration section I am 
facing different types of errors related to next header file.

Can you please let me know how to proceed further.

Thanks in advance.

Regards,
Ravali
-----Original Message-----
From: Russell Bryant [mailto:rbry...@redhat.com]
Sent: 04 August 2015 20:21
To: Ravali Burra (WT01 - Product Engineering Service); dev@openvswitch.org
Subject: Re: [ovs-dev] Adding a new file to ovs-master

On 08/04/2015 08:37 AM, ravali.bu...@wipro.com wrote:
> Hi Team,
>
> I have added the new file to ovs-master for MSTP but while compiling I
> am unable include the new header file in the file.
>
> I have added the reference for the new files in lib/automake.mk even
> then I am able to see error like  expected ';', identifier or '('
> before 'struct' .
>
> Can you please help me linking the new files to OVS for compiling.

It's difficult to know what the problem is and provide useful input without 
seeing the code and the full error you get.  Would you like to throw it in a 
git repo on github or something and show the full error?

--
Russell Bryant
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to