* als4000 compile error in alsa-driver CVS
@ 2005-03-22 19:21 "Tien, C.L. - 田承禮"
2005-03-22 20:46 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: "Tien, C.L. - 田承禮" @ 2005-03-22 19:21 UTC (permalink / raw)
To: alsa-devel
Hi,
Since I cannot use --with-cards to skip card that I don't have, I got following compile error for alsa-driver CVS tree:
make -C /lib/modules/2.6.9-1.667/source SUBDIRS=/home/cltien/work/alsa-cvs/alsa-driver O=/lib/modules/2.6.9-1.667/build modules
make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o
In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c: In function `snd_als4000_create_gameport':
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:594: warning: implicit declaration of function `gameport_allocate_port'
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:594: warning: assignment makes pointer from integer without a cast
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:602: warning: implicit declaration of function `gameport_set_name'
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603: warning: implicit declaration of function `gameport_set_phys'
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:604: error: request for member `parent' in something not a structure or union
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:606: error: structure has no member named `port_data'
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c: In function `snd_als4000_free_gameport':
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:619: error: structure has no member named `port_data'
make[4]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o] Error 1
make[3]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci] Error 2
make[2]: *** [_module_/home/cltien/work/alsa-cvs/alsa-driver] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [compile] Error 2
I don't know if it is good in 1.0.9rc1. I use --with-cards to omit the other cards before today.
Sincerely,
ChenLi Tien
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82&alloc_id\x15148&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: als4000 compile error in alsa-driver CVS
2005-03-22 19:21 als4000 compile error in alsa-driver CVS "Tien, C.L. - 田承禮"
@ 2005-03-22 20:46 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-03-22 20:46 UTC (permalink / raw)
To: Tien, C.L.; +Cc: alsa-devel
At Wed, 23 Mar 2005 03:21:29 +0800,
Tien, C.L. wrote:
>
> Hi,
>
> Since I cannot use --with-cards to skip card that I don't have, I got following compile error for alsa-driver CVS tree:
>
> make -C /lib/modules/2.6.9-1.667/source SUBDIRS=/home/cltien/work/alsa-cvs/alsa-driver O=/lib/modules/2.6.9-1.667/build modules
> make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
> CC [M] /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o
> In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
> /home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c: In function `snd_als4000_create_gameport':
> /home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:594: warning: implicit declaration of function `gameport_allocate_port'
(snip)
This was due to the merge of the latest gameport patch, which has
incompatibility with older kernels.
It's already fixed on CVS. Please update again after sf's tree gets
sync'ed.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: als4000 compile error in alsa-driver CVS
@ 2005-03-22 23:09 "Tien, C.L. - 田承禮"
2005-03-23 10:03 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: "Tien, C.L. - 田承禮" @ 2005-03-22 23:09 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
I got it updated but still got following error, should I also need to update kernel source? My kernel is 2.6.9-1.667 (Fedora Core 3)
CC [M] /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o
In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603:63: macro "gameport_set_phys" passed 3 arguments, but takes just 2
In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c: In function `snd_als4000_create_gameport':
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603: error: `gameport_set_phys' undeclared (first use in this function)
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603: error: (Each undeclared identifier is reported only once
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603: error: for each function it appears in.)
make[4]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o] Error 1
make[3]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci] Error 2
make[2]: *** [_module_/home/cltien/work/alsa-cvs/alsa-driver] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [compile] Error 2
Sincerly,
ChenLi Tien
-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: 2005/3/22 [星期二] 下午 03:46
To: Tien, C.L. - 田承禮
Cc: alsa-devel@alsa-project.org
Subject: Re: [Alsa-devel] als4000 compile error in alsa-driver CVS
At Wed, 23 Mar 2005 03:21:29 +0800,
Tien, C.L. wrote:
>
> Hi,
>
> Since I cannot use --with-cards to skip card that I don't have, I got following compile error for alsa-driver CVS tree:
>
> make -C /lib/modules/2.6.9-1.667/source SUBDIRS=/home/cltien/work/alsa-cvs/alsa-driver O=/lib/modules/2.6.9-1.667/build modules
> make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
> CC [M] /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o
> In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
> /home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c: In function `snd_als4000_create_gameport':
> /home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:594: warning: implicit declaration of function `gameport_allocate_port'
(snip)
This was due to the merge of the latest gameport patch, which has
incompatibility with older kernels.
It's already fixed on CVS. Please update again after sf's tree gets
sync'ed.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82&alloc_id\x15148&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: als4000 compile error in alsa-driver CVS
2005-03-22 23:09 "Tien, C.L. - 田承禮"
@ 2005-03-23 10:03 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-03-23 10:03 UTC (permalink / raw)
To: Tien, C.L.; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
At Wed, 23 Mar 2005 07:09:09 +0800,
Tien, C.L. wrote:
>
> I got it updated but still got following error, should I also need to update kernel source? My kernel is 2.6.9-1.667 (Fedora Core 3)
>
> CC [M] /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.o
> In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/als4000.c:1:
> /home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/als4000.c:603:63: macro "gameport_set_phys" passed 3 arguments, but takes just 2
My failure. Try the patch below.
Takashi
[-- Attachment #2: Type: text/plain, Size: 664 bytes --]
Index: alsa-driver/include/adriver.h
===================================================================
RCS file: /home/iwai/cvs/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.103
diff -u -r1.103 adriver.h
--- alsa-driver/include/adriver.h 22 Mar 2005 17:58:57 -0000 1.103
+++ alsa-driver/include/adriver.h 23 Mar 2005 10:02:46 -0000
@@ -760,7 +760,7 @@
#define gameport_get_port_data(gp) ((struct snd_gameport *)(gp))->port_data
#define gameport_set_dev_parent(gp,xdev)
#define gameport_set_name(gp,x)
-#define gameport_set_phys(gp,x)
+#define gameport_set_phys(gp,x,y)
#endif /* to_gameport_driver */
#endif /* GAMEPORT || GAMEPORT_MODULE */
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-23 10:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 19:21 als4000 compile error in alsa-driver CVS "Tien, C.L. - 田承禮"
2005-03-22 20:46 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 23:09 "Tien, C.L. - 田承禮"
2005-03-23 10:03 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox