Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.1-benh1 ppc alsa-tools compile failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
darklich14
n00b
n00b


Joined: 28 Feb 2003
Posts: 57
Location: Georgia Institute of Technology

PostPosted: Wed Mar 24, 2004 5:54 am    Post subject: 2.6.1-benh1 ppc alsa-tools compile failure Reply with quote

I'm trying to compile alsa-tools-0.9.8 on my iBook 800MHz running kernel 2.6.1-benh1. Here's the output of the last successful thing compiled. I'm not sure if the problem is at the kernel level or if it's something elsewhere since I'm so unfamiliar with 2.6 and alsa.

Code:

gcc -DPACKAGE=\"cspctl\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1  -I. -I.   -I/usr/include/fltk-1.1  -O3 -pipe -mcpu=750 -I/lib/modules/2.6.1-benh1/build/include  -I/lib/modules/2.6.1-benh1/build/include -c `test -f cspctl.c || echo './'`cspctl.c
gcc  -O3 -pipe -mcpu=750 -I/lib/modules/2.6.1-benh1/build/include  -I/lib/modules/2.6.1-benh1/build/include  -L/usr/lib/fltk-1.1  -lasound -lm -ldl -lpthread -o cspctl  cspctl.o  -lasound -lm -ldl -lpthread
cspctl.o(.text+0x6b6): In function `csp_command':
: undefined reference to `__invalid_size_argument_for_IOC'
cspctl.o(.text+0x6be): In function `csp_command':
: undefined reference to `__invalid_size_argument_for_IOC'
collect2: ld returned 1 exit status
make: *** [cspctl] Error 1

!!! ERROR: media-sound/alsa-tools-0.9.8 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! make failed


Thanks
_________________
-Lyo
Back to top
View user's profile Send private message
gen2
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2003
Posts: 82
Location: West Coast, USA

PostPosted: Wed Mar 24, 2004 8:08 pm    Post subject: Re: 2.6.1-benh1 ppc alsa-tools compile failure Reply with quote

[quote="darklich14"] -I/lib/modules/2.6.1-benh1/build/include -L/usr/lib/fltk-1.1 -lasound -lm -ldl -lpthread -o cspctl cspctl.o -lasound -lm -ldl -lpthread
cspctl.o(.text+0x6b6): In function `csp_command':
: undefined reference to `__invalid_size_argument_for_IOC'
cspctl.o(.text+0x6be): In function `csp_command':
: undefined reference to `__invalid_size_argument_for_IOC'
collect2: ld returned 1 exit status
make: *** [cspctl] Error 1

!!! ERROR: media-sound/alsa-tools-0.9.8 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! make failed
[/code]


Shot in the dark: Do you have fltk installed? Maybe try recompiling it if you do? Perhaps try 02 compile option instead of 03 in make.conf...
Back to top
View user's profile Send private message
darklich14
n00b
n00b


Joined: 28 Feb 2003
Posts: 57
Location: Georgia Institute of Technology

PostPosted: Sun Mar 28, 2004 7:49 pm    Post subject: Reply with quote

That was it!! (re-emerging fltk)! Been a while since I was able to try it, but that did the trick.
Thanks!
_________________
-Lyo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum