On Saturday 04 January 2014 21:03:20 Shakeel Ahmad wrote: > Distro: CentOS 5.9 > Kernel: 2.6.18-348.el5 x86_64 > Manufacturer and model: > baseboard-manufacturer: LENOVO > baseboard-product-name: 3354CTO > baseboard-version : Not Defined > system-manufacturer : LENOVO > system-product-name : 3354CTO > system-version : ThinkPad Edge E330 > bios-vendor : LENOVO > bios-version : H3ET65WW(1.02) > bios-release-date : 09/12/2012 > Bumblebee version: bumblebee-3.2.1 > Graphic Cards: > # lspci -vnn | grep '\''[030[02]\]' > 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation > Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) > (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: > NVIDIA Corporation Device [10de:1058] (rev a1) (prog-if 00 [VGA > controller]) > > Problem: Failed to build the binaries. This is what I did... > > # ./configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia > CONF_LDPATH_NVIDIA=/usr/lib64:/usr/lib > CONF_MODPATH_NVIDIA=/usr/lib64/xorg/modules [..] > src/bbsocket.c: In function ‘socketConnect’: > src/bbsocket.c:51: error: ‘SOCK_CLOEXEC’ undeclared (first use in this > function) src/bbsocket.c:51: error: (Each undeclared identifier is reported > only once src/bbsocket.c:51: error: for each function it appears in.) > src/bbsocket.c: In function ‘socketServer’: > src/bbsocket.c:175: error: ‘SOCK_CLOEXEC’ undeclared (first use in this > function) make: *** [src/bbs> ocket.o] Error 1
SOCK_CLOEXEC is supported since Linux 2.6.27, are there reasons why you cannot upgrade to a more recent distribution? Regards, Peter -- Mailing list: https://launchpad.net/~bumblebee Post to : bumblebee@lists.launchpad.net Unsubscribe : https://launchpad.net/~bumblebee More help : https://help.launchpad.net/ListHelp