All of lore.kernel.org
 help / color / mirror / Atom feed
* SCC Driver compilation error
@ 2004-12-25 13:27 IZ4EFN Alessio
  2004-12-26  7:41 ` acfnews
  0 siblings, 1 reply; 2+ messages in thread
From: IZ4EFN Alessio @ 2004-12-25 13:27 UTC (permalink / raw)
  To: linux-hams List

Hello guys,

Marry Christmast to everyone!!

I'm, in these days of holiday, trying to setup a couple of old cards 
based on Z8530.

These are S5PCC design (board rebuild by I2REO), two Z8530 with 2 modems 
each.

While compiling the usual driver i get the following error:


root@Slack_ARIMO:~/z8530drv-2.4# make dep
gcc -O2 -m486 -Wall -Wstrict-prototypes -DCONFIG_SCC_STANDALONE -M 
sccstat.c sccinit.c sccparam.c >.depend
gcc -O2 -m486 -Wall -Wstrict-prototypes -DCONFIG_SCC_STANDALONE -c -pipe 
-D__KERNEL__ -DMODULE -DMODVERSIONS -fomit-frame-pointer 
-DCONFIG_SCC_DEV -DCONFIG_SCC_TTY -I/usr/src/linux/include -M scc.c 
 >>.depend
scc.c:156:20: warning: extra tokens at end of #undef directive
In file included from scc.c:189:
/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning 
linux/malloc.h is deprecated, use linux/slab.h instead.
scc.c:3153:46: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
scc.c:3164:46: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
scc.c:3171:38: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
make: *** [dep] Error 1
root@Slack_ARIMO:~/z8530drv-2.4#



and the make is replying this:



root@Slack_ARIMO:~/z8530drv-2.4# make
install -g root -o root -m 0755 -s sccstat /sbin/sccstat
install -g root -o root -m 0700 -s sccinit /sbin/sccinit
install -g root -o root -m 0700 -s sccparam /sbin/sccparam
install -g root -o root -m 0644 z8530drv.conf /etc/z8530drv.conf.ex
for d in 0 1 2 3 4 5 6 7 ; do \
        rm -f /dev/scc$d                ;\
        mknod /dev/scc$d c 34 $d        ;\
done
root@Slack_ARIMO:~/z8530drv-2.4#



which seems to be fine.,


Where do you think the matter is?

Thanks for help, Alessio IZ4EFN.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SCC Driver compilation error
  2004-12-25 13:27 SCC Driver compilation error IZ4EFN Alessio
@ 2004-12-26  7:41 ` acfnews
  0 siblings, 0 replies; 2+ messages in thread
From: acfnews @ 2004-12-26  7:41 UTC (permalink / raw)
  To: IZ4EFN Alessio; +Cc: linux-hams List

Hello Alessio,

Why not use the kernel's source ?
If you include them in the kernel, i think no problems should appear.

Best regards,

ron



> Hello guys,
>
> Marry Christmast to everyone!!
>
> I'm, in these days of holiday, trying to setup a couple of old cards
> based on Z8530.
>
> These are S5PCC design (board rebuild by I2REO), two Z8530 with 2 modems
> each.
>
> While compiling the usual driver i get the following error:
>
>
> root@Slack_ARIMO:~/z8530drv-2.4# make dep
> gcc -O2 -m486 -Wall -Wstrict-prototypes -DCONFIG_SCC_STANDALONE -M
> sccstat.c sccinit.c sccparam.c >.depend
> gcc -O2 -m486 -Wall -Wstrict-prototypes -DCONFIG_SCC_STANDALONE -c -pipe
> -D__KERNEL__ -DMODULE -DMODVERSIONS -fomit-frame-pointer
> -DCONFIG_SCC_DEV -DCONFIG_SCC_TTY -I/usr/src/linux/include -M scc.c
>  >>.depend
> scc.c:156:20: warning: extra tokens at end of #undef directive
> In file included from scc.c:189:
> /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning
> linux/malloc.h is deprecated, use linux/slab.h instead.
> scc.c:3153:46: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
> scc.c:3164:46: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
> scc.c:3171:38: macro "dev_kfree_skb" passed 2 arguments, but takes just 1
> make: *** [dep] Error 1
> root@Slack_ARIMO:~/z8530drv-2.4#
>
>
>
> and the make is replying this:
>
>
>
> root@Slack_ARIMO:~/z8530drv-2.4# make
> install -g root -o root -m 0755 -s sccstat /sbin/sccstat
> install -g root -o root -m 0700 -s sccinit /sbin/sccinit
> install -g root -o root -m 0700 -s sccparam /sbin/sccparam
> install -g root -o root -m 0644 z8530drv.conf /etc/z8530drv.conf.ex
> for d in 0 1 2 3 4 5 6 7 ; do \
>         rm -f /dev/scc$d                ;\
>         mknod /dev/scc$d c 34 $d        ;\
> done
> root@Slack_ARIMO:~/z8530drv-2.4#
>
>
>
> which seems to be fine.,
>
>
> Where do you think the matter is?
>
> Thanks for help, Alessio IZ4EFN.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-26  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-25 13:27 SCC Driver compilation error IZ4EFN Alessio
2004-12-26  7:41 ` acfnews

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.