You are not logged in.

#1 2012-11-23 11:18:59

Registered: 2012-11-23
Posts: 2

udlfb build error


Just bought a USB display adapter to add a new screen to my laptop but ...

I have the screen green and other packages required are installed.
Tried to install both aur/udlfb and aur/xf-video-udlfb packages and both fails.

This is the make output :

○ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/antoine/Downloads/udlfb modules
make[1] : on entre dans le répertoire « /usr/src/linux-3.6.6-1-ARCH »
  CC [M]  /home/antoine/Downloads/udlfb/udlfb.o
/home/antoine/Downloads/udlfb/udlfb.c:93:2: attention : #warning CONFIG_FB_SYS_IMAGEBLIT kernel support required for fb console [-Wcpp]
/home/antoine/Downloads/udlfb/udlfb.c:97:2: attention : #warning FB_SYS_FOPS kernel support required for filesystem char dev access [-Wcpp]
/home/antoine/Downloads/udlfb/udlfb.c: In function ‘dlfb_usb_probe’:
/home/antoine/Downloads/udlfb/udlfb.c:1684:3: erreur: implicit declaration of function ‘err’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/home/antoine/Downloads/udlfb/udlfb.o] Erreur 1
make[1]: *** [_module_/home/antoine/Downloads/udlfb] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-3.6.6-1-ARCH »
make: *** [all] Erreur 2

Here are the lines in the C file :

1682     dev = kzalloc(sizeof(*dev), GFP_KERNEL);
1683     if (dev == NULL) {
1684         err("dlfb_usb_probe: failed alloc of dev struct\n");
1685         goto error;
1686     }

I'm a newbie so any help is appreciated, thanks !

Edit more infos :

○ uname -a
Linux antoine-laptop 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64 GNU/Linux
Bus 002 Device 006: ID 17e9:0360 DisplayLink

Last edited by antoineg (2012-11-23 11:37:14)


Board footer

Powered by FluxBB