All nx_flow structs are obsolete and can be removed. They were used for pulling Netflow records from the kernel early on. I'll clean up and push.

Thanks for pointing this out.
.martin


Yes, this was done on a 64 bit machine.

Thanks!
Vjeko

----- Forwarded message from kk yap <[email protected]> -----

Date: Sat, 9 Jan 2010 10:20:55 -0800
From: kk yap <[email protected]>
To: Vjekoslav Brajkovic <[email protected]>
Subject: Re: [nox-dev] nox 0.6 branch openflow-1.0

Hi Vjekoslav,

It seems like the nx_flow_end struct is not padded properly.  From the
log, I assume you have a 64-bit machine.  Can someone in Nicira see
what the struct is for?

Regards
KK

2010/1/8 Vjekoslav Brajkovic <[email protected]>:
Both of them fail.  Attached is the complete output.

On Thu, Jan 07, 2010 at 05:32:09PM -0800, kk yap wrote:
Hi,

Is that log from a configure with the --with-openflow option or
without?  You should not use the --with-openflow option.

I may be paranoid here, but make sure you are in the openflow-1.0 branch.

Regards
KK

2010/1/7 Vjekoslav Brajkovic <[email protected]>:
Hello.

I'm trying to build nox 0.6 with openflow 1.0 support. Latest commit fails.
The build also fails when ./configure is passed an alternative
`--with-openflow` directory path.

Any help would be appreciated.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
In file included from ../../src/include/openflow.hh:31,
                from ../../src/include/openflow-event.hh:22,
                from openflow-event.cc:22:
../../src/include/netinet++/ethernetaddr.hh: In member function ‘bool 
vigil::ethernetaddr::is_init() const’:
../../src/include/netinet++/ethernetaddr.hh:286: warning: dereferencing 
type-punned pointer will break strict-aliasing rules
../../src/include/netinet++/ethernetaddr.hh: In member function ‘uint64_t 
vigil::ethernetaddr::hb_long() const’:
../../src/include/netinet++/ethernetaddr.hh:401: warning: dereferencing 
type-punned pointer will break strict-aliasing rules
../../src/include/netinet++/ethernetaddr.hh: In member function ‘uint64_t 
vigil::ethernetaddr::nb_long() const’:
../../src/include/netinet++/ethernetaddr.hh:411: warning: dereferencing 
type-punned pointer will break strict-aliasing rules
../../src/include/netinet++/ethernetaddr.hh: In member function ‘bool 
vigil::ethernetaddr::is_zero() const’:
../../src/include/netinet++/ethernetaddr.hh:457: warning: dereferencing 
type-punned pointer will break strict-aliasing rules
In file included from openflow-event.cc:33:
../../src/include/openflow/openflow/nicira-ext.h: At global scope:
../../src/include/openflow/openflow/nicira-ext.h:204: error: size of array 
‘build_assert_failed’ is negative
make[5]: *** [openflow-event.lo] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

Thanks!
Vjeko

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


----- End forwarded message -----

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to