can't build python bindings on FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Any ideas?

Clang: FreeBSD clang version 3.1

creating build/temp.freebsd-9.1-RELEASE-p4-i386-2.7
creating build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/build
clang -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I. -I/usr/local/include/python2.7 -c libvirt-override.c -o build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/libvirt-override.o -I/usr/local/include
In file included from libvirt-override.c:26:
./libvirt-utils.h:87:22: error: token is not a valid binary operator in a preprocessor subexpression
#   if __GNUC_PREREQ (3, 3)
       ~~~~~~~~~~~~~ ^
./libvirt-utils.h:99:22: error: token is not a valid binary operator in a preprocessor subexpression
#   if __GNUC_PREREQ (3, 4)
       ~~~~~~~~~~~~~ ^
2 errors generated.
error: command 'clang' failed with exit status 1
*** [do-build] Error code 1

Stop in /usr/home/jgh/workspace/ports/devel/py-libvirt.


Gcc: gcc (GCC) 4.2.1 20070831
gcc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I. -I/usr/local/include/python2.7 -c libvirt-override.c -o build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/libvirt-override.o -I/usr/local/include
In file included from libvirt-override.c:26:
libvirt-utils.h:87:22: error: missing binary operator before token "("
libvirt-utils.h:99:22: error: missing binary operator before token "("
error: command 'gcc' failed with exit status 1
*** [do-build] Error code 1


Thanks!
-jgh
--
Jason Helfman          | FreeBSD Committer
jgh@xxxxxxxxxxx     | http://people.freebsd.org/~jgh  | The Power to Serve
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]