← Back to team overview

sony-vaio-z-series team mailing list archive

Problems setting up nvidia card

 

Hello everyone,

I got a new Sony Z5 last week and I installed ubuntu 9.10. Most of the
things are working quite well out of the box, but I was trying to find a
solution for the switch between the discrete and nvidia card. I found
the tutorial for "Installation of Ubuntu 9.04 Jaunty Jackalope on Sony
Vaio VGNZ11MN/B by Philipp Blanke" but when I tried to compile the sony-
laptop module I get an error message.
Can someone please tell me if there is any solution for this problem or
other ways around to solve the problem. I have also managed to find a
different solution here:http://www.mail-archive.com/sony-
vaio-z-series@xxxxxxxxxxxxxxxxxxx/msg00659.html, but apparently then the
switch stops working properly in Windows which I also don't want.

Many thanks in advance for any help,
Bruno Santos

make -C /lib/modules/2.6.31-16-generic/build
SUBDIRS=/home/bacms2/Downloads/sony-laptop-zseries-0.9 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-16-generic'
  CC [M]  /home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.o
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1246:
warning: ‘enum rfkill_state’ declared inside parameter list
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1246:
warning: its scope is only this definition or declaration, which is
probably not what you want
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_rfkill_get’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1255:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1255:
error: ‘RFKILL_STATE_UNBLOCKED’ undeclared (first use in this function)
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1255:
error: (Each undeclared identifier is reported only once
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1255:
error: for each function it appears in.)
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1257:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1257:
error: ‘RFKILL_STATE_SOFT_BLOCKED’ undeclared (first use in this
function)
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1259:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1259:
error: ‘RFKILL_STATE_HARD_BLOCKED’ undeclared (first use in this
function)
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: At top
level:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1265:
warning: ‘enum rfkill_state’ declared inside parameter list
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1265:
error: parameter 2 (‘state’) has incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_rfkill_set’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1270:
error: ‘RFKILL_STATE_UNBLOCKED’ undeclared (first use in this function)
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_setup_wifi_rfkill’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1281:
error: implicit declaration of function ‘rfkill_allocate’
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1281:
warning: assignment makes pointer from integer without a cast
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1284:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1285:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1286:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1287:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1288:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1291:
error: implicit declaration of function ‘rfkill_free’
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_setup_bluetooth_rfkill’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1303:
warning: assignment makes pointer from integer without a cast
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1306:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1307:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1308:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1309:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1310:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_setup_wwan_rfkill’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1324:
warning: assignment makes pointer from integer without a cast
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1327:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1328:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1329:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1330:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1331:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_setup_wimax_rfkill’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1345:
warning: assignment makes pointer from integer without a cast
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1348:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1349:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1350:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1351:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1352:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c: In
function ‘sony_nc_rfkill_update’:
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1364:
error: storage size of ‘state’ isn’t known
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1368:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1369:
error: dereferencing pointer to incomplete type
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1371:
error: implicit declaration of function ‘rfkill_force_state’
/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-laptop.c:1364:
warning: unused variable ‘state’
make[2]: *** [/home/bacms2/Downloads/sony-laptop-zseries-0.9/sony-
laptop.o] Error 1
make[1]: *** [_module_/home/bacms2/Downloads/sony-laptop-zseries-0.9]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-16-generic'
make: *** [default] Error 2
-- 
This message was sent from Launchpad by the user
Bruno Santos (https://launchpad.net/~bacmsantos)
using the "Contact this team" link on the Sony Vaio Z-series Laptop team page.
For more information see
https://help.launchpad.net/YourAccount/ContactingPeople



Follow ups