Re:Re: Help with compilation - Attn - Jim Hayward

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

 



Hello All,

Thanks many for the suggestion. I could try it only now!

Compilation works. But undefined symbols generate during compilation.I produce that below.

*** Warning: "class_simple_create" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slusb.ko] undefined! *** Warning: "class_simple_device_remove" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slusb.ko] undefined! *** Warning: "class_simple_destroy" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slusb.ko] undefined! *** Warning: "class_simple_device_add" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slusb.ko] undefined! *** Warning: "class_simple_create" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slamr.ko] undefined! *** Warning: "class_simple_device_remove" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slamr.ko] undefined! *** Warning: "class_simple_destroy" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slamr.ko] undefined! *** Warning: "class_simple_device_add" [/home/pbhat/data/source/Installation/slmodem-2.9.9e-pre1a/drivers/slamr.ko] undefined!


Elsewhere there is a warning,

make[3]: Entering directory `/home/pbhat/data/rpmbuild/BUILD/kernel-2.6.13/linux-2.6.13'

WARNING: Symbol version dump /home/pbhat/data/rpmbuild/BUILD/kernel-2.6.13/linux-2.6.13/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST

Could that be a reason.

Regards,

Parameshwara Bhat
On Mon, 24 Oct 2005 09:08:52 +0530, <fedora-list-request@xxxxxxxxxx> wrote:

Message: 11
Date: Sun, 23 Oct 2005 18:39:47 -0700
From: Jim Hayward <jimhayward@xxxxxxxxxxxxx>
Subject: Re: Help with compilation
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Message-ID: <20051023183947.757f573c.jimhayward@xxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
On Sun, 23 Oct 2005 23:17:10 +0530
"Parameshwara Bhat" <peebhat@xxxxxxxxx> wrote:

modem.c: In function ‘modem_reset’:
modem.c:1701: error: invalid storage class for function
‘sregs_init’
modem.c:1713: warning: implicit declaration of function
‘sregs_init’

I cannot presume any error in the source as this was compiling fine in

FC2.I guess this could be due to GCC incompatibility.
Your problem is with line 1701. GCC 4.x (the compiler version in FC4)
does not allow the placement of forward declarations of static functions
inside the body of another function.
In the file slmodem-2.9.10/modem/modem.c, just move line 1701 above
line 1699.
Line #
1699int modem_reset(struct modem *m)
1700{
1701  static int sregs_init(unsigned char sregs[]);
  MODEM_DBG("modem reset...\n");
Regards,
Jim H



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux