Re: [PATCH] compile with kernel 3.9.7 stops with error

Tamer Higazi <th982a-gM/[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
Okay... seems to work until there is the next error, compiling the
mISDN_dsp module.


/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c: In
function 'octvqe_init':
/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1174:5:
error: implicit declaration of function 'create_proc_entry'
[-Werror=implicit-function-declaration]
/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1174:16:
warning: assignment makes pointer from integer without a cast [enabled
by default]
/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1176:12:
error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[5]: ***
[/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.o]
Error 1
make[4]: *** [/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe]
Error 2
make[3]: ***
[_module_/usr/local/src/mISDN/standalone/drivers/isdn/mISDN] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.11.0-amd'
make[2]: *** [modules_] Error 2
make[2]: Leaving directory `/usr/local/src/mISDN/standalone'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/local/src/mISDN/standalone'


Any ideas  what could be the error?

Is it a GCC or glib problem ?

My GCC version is:
gcc (Debian 4.7.2-5) 4.7.2



Tamer


On 09/26/13 14:03, Jörg Esser wrote:
> Hi Tamer,
> 
> open the file
> 
> standalone/Makefile.in
> search for the line "cat .patchOK"
> change it to the following
>     if test -f .patchOK; then \
>         cat .patchOK; \
>     else \
>         echo "no patches applied"; \
>     fi
> 
> That should do the trick
> 
> 
> Tamer Higazi schrieb:
>> Hi Jörg!
>> It seems to be that I have exactly the same error.... Could you please
>> tell me what have you changed !?
>>
>> which file have you renamed or copied to ".patchOK" ?!
>>
>> I would kindly thank you!
>>
>>
>>
>> Tamer
>>
>>
>> On 07/01/13 09:33, Jörg Esser wrote:
>>> Tilman Schmidt schrieb:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Am 28.06.2013 13:10, schrieb Jörg Esser:
>>>>> From: Joerg Esser <[email protected]>
>>>>>
>>>>> cat .patchOk -> File not found added some test glue if no patch was
>>>>> applied. --- standalone/Makefile.in |    6 +++++- 1 file changed, 5
>>>>> insertions(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/standalone/Makefile.in b/standalone/Makefile.in index
>>>>> 0d1fd77..d830981 100644 --- a/standalone/Makefile.in +++
>>>>> b/standalone/Makefile.in @@ -135,7 +135,11 @@ patched_tree:
>>>>> unpatched_tree else \ echo "no series found"; \ fi -    cat
>>>>> .patchOK +    if test -f patchOK; then \
>>>> I guess you meant ".patchOK" here too.
>>> You are right. I tried it and it didn´t work :(
>>> So after changing this to .patchOK everything worked as expected. Sorry
>>> for this.
>>> First try ;)
>>>
>>> Should I repost the correct patch or is someone able to apply it by
>>> hand? Or how should I proceed?
>>>
>> _______________________________________________
>> isdn4linux mailing list
>> [email protected]
>> https://www.isdn4linux.de/mailman/listinfo/isdn4linux
>>
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.