Yes, because __wake_up_sync is only available to GPL drivers...
There's EXPORT_SYMBOL and EXPORT_SYNBOL_GPL, it seems that it will be
very difficult as time goes on to write proprietary drivers...New features
are often GPL only.
You need to figure out clever means to do proprietary thinks in user space.
marty
chris brooke <[EMAIL PROTECTED]> writes on Tue, 02 Oct 2007 17:30:15 CDT
> --===============0331551575==
> Content-Type: multipart/alternative;
> boundary="_33870f39-5027-40cc-9f91-ce932b777c33_"
>
> --_33870f39-5027-40cc-9f91-ce932b777c33_
> Content-Type: text/plain; charset="Windows-1252"
> Content-Transfer-Encoding: quoted-printable
>
> I have written a device driver as a module and I am trying to load it
into =
> the
> kernel with insmod.
>
> When the module is compiled with a "Proprietary" license insmod fails
with =
> an
> unknown symbol:
>
> /mnt/code/gp/module> insmod gp.ko
> gp: module license 'Proprietary' taints kernel.
> gp: Unknown symbol __wake_up_sync
> insmod: cannot insert `gp.ko': Unknown symbol in module (-1): No such
file =
> or directory
>
> However when the module is compiled with a "Dual BSD/GPL" license there
is =
> no such problem:
/mnt/code/gp/module> insmod gp.ko
> gp_init_hw
> /gp_init_hw
>
> Why is the proprietary license causing the Unknown symbol problem?
> How can I fix it?
> Thanks,
> Chris
>
>
> _________________________________________________________________
> Windows Live Hotmail and Microsoft Office Outlook =96 together at last.
=A0=
> Get it now.
> http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=3DCL10
062=
> 6971033=
>
> --_33870f39-5027-40cc-9f91-ce932b777c33_
> Content-Type: text/html; charset="Windows-1252"
> Content-Transfer-Encoding: quoted-printable
>
> <html>
> <head>
> <style>
> .hmmessage P
> {
> margin:0px;
> padding:0px
> }
> body.hmmessage
> {
> FONT-SIZE: 10pt;
> FONT-FAMILY:Tahoma
> }
> </style>
> </head>
> <body class=3D'hmmessage'>I have written a device driver as a module
and I =
> am trying to load it into the<br>kernel with insmod.<br><br>When the
module=
> is compiled with a "Proprietary" license insmod fails with an<br>
unknown s=
> ymbol:<br><br>/mnt/code/gp/module> insmod gp.ko<br>gp: module
license 'P=
> roprietary' taints kernel.<br>gp: Unknown symbol __wake_up_sync<br>
insmod: =
> cannot insert `gp.ko': Unknown symbol in module (-1): No such file or
direc=
> tory<br><br>However when the module is compiled with a "Dual BSD/GPL"
licen=
> se there is no such problem:<br>/mnt/code/gp/module> insmod gp.ko<br>
gp_=
> init_hw<br>/gp_init_hw<br><br>Why is the proprietary license causing
the Un=
> known symbol problem?<br>How can I fix it?<br>Thanks,<br>Chris<br><br>
<br /=
> ><hr />Windows Live Hotmail and Microsoft Office Outlook =96 together
at la=
> st. <a href=3D'http://office.microsoft.com/en-us/outlook/HA102225181033.
asp=
> x?pid=3DCL100626971033' target=3D'_new'>Get it now!</a></body>
> </html>=
>
> --_33870f39-5027-40cc-9f91-ce932b777c33_--
>
> --===============0331551575==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> --===============0331551575==--
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev