mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: haiquy@yahoo.com
To: linux-kernel@vger.kernel.org
Subject: More compile errors, 2.4.27-rc3 with gcc-3.4.0
Date: Sun, 25 Jul 2004 22:30:13 +0000 (UTC)	[thread overview]
Message-ID: <Pine.LNX.4.53.0407252226230.29974@linuxcd> (raw)


Hi,

just in case someone find it usefull I attached the nearly complete
errors and to continue my last post.
kernel 2.4.27-rc3 with the gcc-2.4.0 compile fix patch

gcc-4 -D__KERNEL__ -I/home/linux-2.4.27-rc3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-strength-reduce -ffast-math -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time -DMODULE -DHISAX_MAX_CARDS=8 -nostdinc -iwithprefix include -DKBUILD_BASENAME=st5481_usb  -c -o st5481_usb.o st5481_usb.c
st5481_usb.c: In function `usb_next_ctrl_msg':
st5481_usb.c:51: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `usb_ctrl_msg':
st5481_usb.c:67: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `usb_ctrl_complete':
st5481_usb.c:134: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `usb_int_complete':
st5481_usb.c:188: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `st5481_setup_usb':
st5481_usb.c:244: error: parse error before "__FUNCTION__"
st5481_usb.c:253: error: parse error before "__FUNCTION__"
st5481_usb.c:263: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `st5481_start':
st5481_usb.c:360: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `usb_in_complete':
st5481_usb.c:474: error: parse error before "__FUNCTION__"
st5481_usb.c:504: error: parse error before "__FUNCTION__"
st5481_usb.c:510: error: parse error before "__FUNCTION__"
st5481_usb.c:512: error: parse error before "__FUNCTION__"
st5481_usb.c:514: error: parse error before "__FUNCTION__"
st5481_usb.c:522: error: parse error before "__FUNCTION__"
st5481_usb.c: In function `st5481_start_rcv':
st5481_usb.c:609: error: parse error before "__FUNCTION__"
st5481_usb.c:612: error: parse error before "__FUNCTION__"
make[3]: *** [st5481_usb.o] Error 1
make[3]: Leaving directory `/home/linux-2.4.27-rc3/drivers/isdn/hisax'
make[2]: *** [_modsubdir_hisax] Error 2
make[2]: Leaving directory `/home/linux-2.4.27-rc3/drivers/isdn'
make[1]: *** [_modsubdir_isdn] Error 2
make[1]: Leaving directory `/home/linux-2.4.27-rc3/drivers'
make: *** [_mod_drivers] Error 2


gcc-4 -D__KERNEL__ -I/home/linux-2.4.27-rc3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-strength-reduce -ffast-math -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=ns83820  -c -o ns83820.o ns83820.c
ns83820.c:591: error: conflicting types for 'rx_refill_atomic'
ns83820.c:589: error: previous declaration of 'rx_refill_atomic' was here
ns83820.c:591: error: conflicting types for 'rx_refill_atomic'
ns83820.c:589: error: previous declaration of 'rx_refill_atomic' was here
ns83820.c:612: error: conflicting types for 'phy_intr'
ns83820.c:610: error: previous declaration of 'phy_intr' was here
ns83820.c:612: error: conflicting types for 'phy_intr'
ns83820.c:610: error: previous declaration of 'phy_intr' was here
ns83820.c:797: error: conflicting types for 'ns83820_rx_kick'
ns83820.c:795: error: previous declaration of 'ns83820_rx_kick' was here
ns83820.c:797: error: conflicting types for 'ns83820_rx_kick'
ns83820.c:795: error: previous declaration of 'ns83820_rx_kick' was here
ns83820.c:818: error: conflicting types for 'rx_irq'
ns83820.c:816: error: previous declaration of 'rx_irq' was here
ns83820.c:818: error: conflicting types for 'rx_irq'
ns83820.c:816: error: previous declaration of 'rx_irq' was here
ns83820.c:589: warning: 'rx_refill_atomic' declared `static' but never defined
ns83820.c:610: warning: 'phy_intr' declared `static' but never defined
ns83820.c:795: warning: 'ns83820_rx_kick' declared `static' but never defined
ns83820.c:816: warning: 'rx_irq' declared `static' but never defined
ns83820.c:1708: warning: 'ns83820_probe_phy' defined but not used
make[2]: *** [ns83820.o] Error 1
make[2]: Leaving directory `/home/linux-2.4.27-rc3/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/home/linux-2.4.27-rc3/drivers'
make: *** [_mod_drivers] Error 2


gcc-4 -D__KERNEL__ -I/home/linux-2.4.27-rc3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-strength-reduce -ffast-math -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=core  -c -o core.o core.c
core.c:410: error: conflicting types for '__rfcomm_dlc_throttle'
/home/linux-2.4.27-rc3/include/net/bluetooth/rfcomm.h:265: error: previous declaration of '__rfcomm_dlc_throttle' was here
core.c:410: error: conflicting types for '__rfcomm_dlc_throttle'
/home/linux-2.4.27-rc3/include/net/bluetooth/rfcomm.h:265: error: previous declaration of '__rfcomm_dlc_throttle' was here
core.c:421: error: conflicting types for '__rfcomm_dlc_unthrottle'
/home/linux-2.4.27-rc3/include/net/bluetooth/rfcomm.h:266: error: previous declaration of '__rfcomm_dlc_unthrottle' was here
core.c:421: error: conflicting types for '__rfcomm_dlc_unthrottle'
/home/linux-2.4.27-rc3/include/net/bluetooth/rfcomm.h:266: error: previous declaration of '__rfcomm_dlc_unthrottle' was here
make[3]: *** [core.o] Error 1
make[3]: Leaving directory `/home/linux-2.4.27-rc3/net/bluetooth/rfcomm'
make[2]: *** [_modsubdir_rfcomm] Error 2
make[2]: Leaving directory `/home/linux-2.4.27-rc3/net/bluetooth'
make[1]: *** [_modsubdir_bluetooth] Error 2
make[1]: Leaving directory `/home/linux-2.4.27-rc3/net'
make: *** [_mod_net] Error 2

// As this bluetooth module is essential then I disabled all blue tooth support to continue so not sure if any other file in bluetooth has compiling problem or not.

Best regards,

Steve Kieu

             reply	other threads:[~2004-07-25 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25 22:30 haiquy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-25 12:08 Mikael Pettersson

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=Pine.LNX.4.53.0407252226230.29974@linuxcd \
    --to=haiquy@yahoo.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®