2.624 -> prlnet.c:1051: warning: passing argument 1 of 'dev_get_by_name'

Discussion in 'Installation and Configuration in Windows and Linux' started by brozada, Feb 16, 2008.

  1. brozada

    brozada Bit poster

    Messages:
    1
    2.6.24 -> prlnet.c:1051: warning: passing argument 1 of 'dev_get_by_name'

    Hi,

    I'm trying to install workstation in a 2.6.24 debian host.
    I get the following errors when compiling:

    /usr/lib/parallels/drivers/drv_net/linux/prlnet.c: In function 'hw_bind':
    /usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1051: warning: passing argument 1 of 'dev_get_by_name' from incompatible pointer type
    /usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1051: error: too few arguments to function 'dev_get_by_name'

    uname -a:
    Linux coco 2.6.24-1-686 #1 SMP Mon Feb 11 14:37:45 UTC 2008 i686 GNU/Linux

    parallels version: 2.2.2222
    generic kernel from debian.org for sid, with headers... installed
    gcc (GCC) 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)

    Machine: Macbook2,1

    attached error log
     

    Attached Files:

    Last edited: Feb 25, 2008
  2. yyongpil

    yyongpil Bit poster

    Messages:
    1
    I have the same problem in ubuntu hardy

    yong@alicia:~$ uname -a
    Linux alicia 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

    parallels workstation 2.2.2222
    gcc 4:4.2.3.-1ubuntu3
    linux-kernel-headers-2.6.24-12-generic

    I have exactly the same problem.
     
  3. kylemiller

    kylemiller Bit poster

    Messages:
    2

Share This Page