Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: IZ4EFN Alessio <iz4efn@libero.it>
To: linux-hams List <linux-hams@vger.kernel.org>
Subject: SCC Driver compilation error
Date: Sat, 25 Dec 2004 14:27:52 +0100	[thread overview]
Message-ID: <41CD6AD8.9040708@libero.it> (raw)

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.



             reply	other threads:[~2004-12-25 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-25 13:27 IZ4EFN Alessio [this message]
2004-12-26  7:41 ` SCC Driver compilation error acfnews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41CD6AD8.9040708@libero.it \
    --to=iz4efn@libero.it \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox