Hello dearist list,
I have a problem. Ive installed fedora core 2 test 1 (and it makes me very happy) on my laptop. I have wierd alsa problems as alsa-driver is now part of the kernal, but I cannot even comile pd. Yes I know this is a test, which is why Im posting this to the list. Any fixes?
Also, where is /etc/modules.conf (to configure the sound devices for alsa in 2.6)? /etc/modprobe.conf?
Heres my compile error:
make[1]: Entering directory /home/wade/pd-0.37-1test6/extra/expr~\' cc -g -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o vexp.pd_linux_o -c vexp.c vexp.c:81: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:83: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:85: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:89: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:91: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:93: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:95: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:97: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:105: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:113: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:297: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:906: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:941: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:1213: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1251: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:1310: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1358: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
vexp.c:1401: warning: declaration of exp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1555: warning: declaration of
exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
make[1]: *** [vexp.pd_linux_o] Error 1
make[1]: Leaving directory `/home/wade/pd-0.37-1test6/extra/expr~'
make: *** [externs] Error 2
Thanks, -thewade
a certain "thewade" pdman@aproximation.org wrote:
Hello dearist list,
I have a problem. Ive installed fedora core 2 test 1 (and it makes me very happy) on my laptop. I have wierd alsa problems as alsa-driver is now part of the kernal, but I cannot even comile pd. Yes I know this is a test, which is why Im posting this to the list. Any fixes?
Also, where is /etc/modules.conf (to configure the sound devices for alsa in 2.6)? /etc/modprobe.conf?
Heres my compile error:
make[1]: Entering directory
/home/wade/pd-0.37-1test6/extra/expr~\' cc -g -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o vexp.pd_linux_o -c vexp.c vexp.c:81: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:83: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:85: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:89: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:91: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:93: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:95: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:97: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:105: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:113: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:297: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:906: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:941: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1213: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1251: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1310: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1358: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1401: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1555: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here make[1]: *** [vexp.pd_linux_o] Error 1 make[1]: Leaving directory `/home/wade/pd-0.37-1test6/extra/expr~' make: *** [externs] Error 2
Go into the /home/wade/pd-0.37-1test6/extra/expr~ directory, open the makefile in a text editor, look for -Werror and delete it.
m
thewade wrote:
Hello dearist list,
I have a problem. Ive installed fedora core 2 test 1 (and it makes me very happy) on my laptop. I have wierd alsa problems as alsa-driver is now part of the kernal, but I cannot even comile pd. Yes I know this is a test, which is why Im posting this to the list. Any fixes?
Also, where is /etc/modules.conf (to configure the sound devices for alsa in 2.6)? /etc/modprobe.conf?
Heres my compile error:
make[1]: Entering directory
/home/wade/pd-0.37-1test6/extra/expr~\' cc -g -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o vexp.pd_linux_o -c vexp.c vexp.c:81: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:83: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:85: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here
---- etc. This has been covered here before. Either you can delete the statement "-Werror" from the Makefile in extra/expr~ or you can edit vexp.c & vexp_if.c and change every instance of "exp-" to "exp2-", "exp)" to "exp2)" and "exp," to "exp2,". The latter is what I do, because one day you may need that -Werror flag. ;)
Also you may find you need to change x_misc.c in src to have the line "#include <unistd.h>" in order for the compile to work.
Also, I have discovered that running ./configure with the --enable-alsa flag actually causes alsa to be DISabled; in order to make sure alsa support is built, leave that flag off! You may want to add the flag "--enable-jack".
Hope this helps, someone fix this please; name conflicts in C are scary and dangerous.
-- John Lamb aka PWizard on EFNet #pure-data
On Fri, 27 Feb 2004, thewade wrote:
Hello dearist list,
I have a problem. Ive installed fedora core 2 test 1 (and it makes me very happy) on my laptop. I have wierd alsa problems as alsa-driver is now part of the kernal, but I cannot even comile pd. Yes I know this is a test,
Well, its not really a test. Actually I think Planet CCRMA provides precompiled rpm's for Fedora, no need to compile yourself :)
Guenter
PS: BTW, the issue is known and fixed in the CVS version.
which is why Im posting this to the list. Any fixes?
Also, where is /etc/modules.conf (to configure the sound devices for alsa in 2.6)? /etc/modprobe.conf?
Heres my compile error:
make[1]: Entering directory
/home/wade/pd-0.37-1test6/extra/expr~\' cc -g -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o vexp.pd_linux_o -c vexp.c vexp.c:81: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:83: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:85: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:89: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:91: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:93: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:95: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:97: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:105: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:113: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:297: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:906: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:941: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1213: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1251: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1310: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1358: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1401: warning: declaration ofexp\' shadows a global declaration <built-in>:0: warning: shadowed declaration is here vexp.c:1555: warning: declaration of
exp' shadows a global declaration <built-in>:0: warning: shadowed declaration is here make[1]: *** [vexp.pd_linux_o] Error 1 make[1]: Leaving directory `/home/wade/pd-0.37-1test6/extra/expr~' make: *** [externs] Error 2Thanks, -thewade
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list