Bug 804668 - NETCF: debian driver doesn't compile because NETCF_TRANSACTION is undefined
NETCF: debian driver doesn't compile because NETCF_TRANSACTION is undefined
Status: CLOSED CURRENTRELEASE
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
unspecified
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-19 10:50 EDT by Hendrik Schwartke
Modified: 2016-03-23 16:56 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Ubuntu precise
Last Closed: 2016-03-23 16:56:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Hendrik Schwartke 2012-03-19 10:50:27 EDT
Description of problem:
"configure && make" ends with the following error:
drv_debian.c: In function 'drv_change_begin':
drv_debian.c:1078:15: error: 'NETCF_TRANSACTION' undeclared (first use in this function)
drv_debian.c:1078:15: note: each undeclared identifier is reported only once for each function it appears in
drv_debian.c: In function 'drv_change_rollback':
drv_debian.c:1091:15: error: 'NETCF_TRANSACTION' undeclared (first use in this function)
drv_debian.c: In function 'drv_change_commit':
drv_debian.c:1104:15: error: 'NETCF_TRANSACTION' undeclared (first use in this function)

netcf commit: d340f2dfcd6461c9743dccdabe3b610f5fbc8fe8

The macro for the debian driver is neither defined in configure.ac (like for the redhat driver) nor defined statically (like for the suse driver).
Comment 1 Cole Robinson 2016-03-23 16:56:15 EDT
I think this was fixed by:

commit f3aa52772c7dc123524dca1cdb0986f77e89b70e
Author: Serge Hallyn <serge.hallyn@canonical.com>
Date:   Sat Apr 28 01:24:11 2012 +0000

    define NETCF_TRANSACTION as false in debian

Note You need to log in before you can comment on or make changes to this bug.