From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000989]: Compilation issues with [sparc] cs4231.c and kernel 2.4.29
Date: Mon, 14 Mar 2005 04:21:32 +0100 [thread overview]
Message-ID: <cfaa5490e6a8a12dd392063a76c3f4ce@bugtrack.alsa-project.org> (raw)
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=989>
======================================================================
Reported By: lmartinking
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 989
Category: SPARC - cs4231
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Gentoo Linux
Kernel Version: Host kernel 2.6.10, build kernel 2.4.29 (with gentoo
sparc patches)
======================================================================
Date Submitted: 03-14-2005 04:21 CET
Last Modified: 03-14-2005 04:21 CET
======================================================================
Summary: Compilation issues with [sparc] cs4231.c and kernel
2.4.29
Description:
I sucessfully compiled linux kernel 2.4.29 using gcc 3.4.3 (on x86)
Alsa mostly compiles, but failes when compiling sparc/cs4231.c
I also tried using gcc 2.95 (on sparc), and it failed in the same way
(mangled symbols or something strange)
=== GCC ===
$ sparc-unknown-linux-gnu-gcc --version
sparc-unknown-linux-gnu-gcc (GCC) 3.4.3-20050110 (Gentoo Linux
3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
=== Configure command ===
./configure --with-cross=sparc-unknown-linux-gnu-
--with-kernel=/usr/src/linux-2.4.29-sparc/
--with-build=/usr/src/linux-2.4.29-sparc/ --with-oss=no
--with-sequencer=yes --with-cards=sun-cs4231
=== Errors ===
make[1]: Entering directory `/tmp/alsa/alsa-driver-1.0.8/sparc'
sparc-unknown-linux-gnu-gcc -D__KERNEL__ -DMODULE=1
-I/tmp/alsa/alsa-driver-1.0.8/include -I/usr/src/linux-2
.4.29-sparc//include -I/usr/src/linux-2.4.29-sparc//include -O2 -m32
-mno-fpu -fcall-used-g5 -fcall-used-g7 -D
LINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe
-DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=cs4231
-c -o cs4231.o cs4231.c
In file included from /tmp/alsa/alsa-driver-1.0.8/include/adriver.h:307,
from
/tmp/alsa/alsa-driver-1.0.8/include/sound/driver.h:42,
from ../alsa-kernel/sparc/cs4231.c:20,
from cs4231.c:1:
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h: In function
`devfs_register_chrdev_Rb16a1c84':
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h:247: warning:
implicit declaration of function `r
egister_chrdev_R19f3d1f7'
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h: In function
`devfs_register_blkdev_Racfe18c3':
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h:252: warning:
implicit declaration of function `r
egister_blkdev_Rb7bcf4d7'
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h: In function
`devfs_unregister_chrdev_Rc86dd8e6':
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h:256: warning:
implicit declaration of function `u
nregister_chrdev_Rc192d491'
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h: In function
`devfs_unregister_blkdev_Re33ec8d8':
/usr/src/linux-2.4.29-sparc//include/linux/devfs_fs_kernel.h:260: warning:
implicit declaration of function `u
nregister_blkdev_Reac1c4af'
In file included from ../alsa-kernel/sparc/cs4231.c:21,
from cs4231.c:1:
/tmp/alsa/alsa-driver-1.0.8/include/sound/core.h: In function
`snd_timestamp_now':
/tmp/alsa/alsa-driver-1.0.8/include/sound/core.h:472: warning: implicit
declaration of function `do_gettimeofday_R72270e35'
In file included from cs4231.c:1:
../alsa-kernel/sparc/cs4231.c: In function `snd_cs4231_outm':
../alsa-kernel/sparc/cs4231.c:402: warning: implicit declaration of
function `udelay_Ra39b4cf2'
../alsa-kernel/sparc/cs4231.c: In function `snd_cs4231_pcm_R5bb6d4c8':
../alsa-kernel/sparc/cs4231.c:1563: warning: implicit declaration of
function `strcpy_Re914e41e'
../alsa-kernel/sparc/cs4231.c: In function `snd_cs4231_sbus_free':
../alsa-kernel/sparc/cs4231.c:1936: warning: implicit declaration of
function `free_irq_Rf20dabd8'
../alsa-kernel/sparc/cs4231.c:1939: warning: passing arg 1 of
`sbus_iounmap_R2b990f27' makes integer from pointer without a cast
../alsa-kernel/sparc/cs4231.c:1944: warning: implicit declaration of
function `kfree_R037a0cba'
../alsa-kernel/sparc/cs4231.c: In function `snd_cs4231_sbus_create':
../alsa-kernel/sparc/cs4231.c:1983: warning: assignment makes pointer from
integer without a cast
../alsa-kernel/sparc/cs4231.c:1989: warning: implicit declaration of
function `request_irq_Rb9ba6802'
../alsa-kernel/sparc/cs4231.c: In function `cs4231_sbus_attach':
../alsa-kernel/sparc/cs4231.c:2026: warning: implicit declaration of
function `sprintf_R1d26aa98'
../alsa-kernel/sparc/cs4231.c: In function `cs4231_init':
../alsa-kernel/sparc/cs4231.c:2194: error: `sbus_root_R4b91b1b6'
undeclared (first use in this function)
../alsa-kernel/sparc/cs4231.c:2194: error: (Each undeclared identifier is
reported only once
../alsa-kernel/sparc/cs4231.c:2194: error: for each function it appears
in.)
../alsa-kernel/sparc/cs4231.c:2195: warning: implicit declaration of
function `strcmp_Re2d5255a'
make[1]: *** [cs4231.o] Error 1
make[1]: Leaving directory `/tmp/alsa/alsa-driver-1.0.8/sparc'
make: *** [compile] Error 1
=== End ===
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-14-05 04:21 lmartinking New Issue
03-14-05 04:21 lmartinking Distribution => Gentoo Linux
03-14-05 04:21 lmartinking Kernel Version => Host kernel 2.6.10,
build kernel 2.4.29 (with gentoo sparc patches)
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next reply other threads:[~2005-03-14 3:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 3:21 bugtrack [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-19 9:04 [ALSA - driver 0000989]: Compilation issues with [sparc] cs4231.c and kernel 2.4.29 bugtrack
2005-12-13 11:44 bugtrack
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=cfaa5490e6a8a12dd392063a76c3f4ce@bugtrack.alsa-project.org \
--to=bugtrack@alsa-project.org \
--cc=alsa-devel@alsa-project.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