Help with compilation - Attn - Jim Hayward

Parameshwara Bhat peebhat at gmail.com
Thu Nov 10 14:27:31 UTC 2005


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 at redhat.com> wrote:

> Message: 11
> Date: Sun, 23 Oct 2005 18:39:47 -0700
> From: Jim Hayward <jimhayward at earthlink.net>
> Subject: Re: Help with compilation
> To: For users of Fedora Core releases <fedora-list at redhat.com>
> Message-ID: <20051023183947.757f573c.jimhayward at earthlink.net>
> Content-Type: text/plain; charset="utf-8"
> On Sun, 23 Oct 2005 23:17:10 +0530
> "Parameshwara Bhat" <peebhat at gmail.com> 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/




More information about the fedora-list mailing list