hi linux user,
couple weeks ago i desided to delete my win2k from my hd and installed suse8.1 installation went smoothly. all of my hardware was detected automaticly and are working perfectly. i had a little trouble installing the official nvidia drivers for my gforce card, but after couple days i got it right (newbie mistakes)...
i'm learning everyday something new with my gnu/linux, and today it's time for pd...
here we go:
and here are the last lines after "make install" :
s_linux.o: In function alsa_open_audio': s_linux.o(.text+0x3634): Warning: start_mode is deprecated, consider to use start_threshold s_linux.o(.text+0x3652): Warning: xrun_mode is deprecated, consider to use stop_threshold cc -O2 -o ../bin/pd-watchdog s_watchdog.c cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DALSA01 -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/t_main.o t_main.c cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DALSA01 -DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/t_tkcmd.o t_tkcmd.c cc1: warnings being treated as errors t_tkcmd.c: In function
pdgui_startup':
t_tkcmd.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible
pointer type
make: *** [t_tkcmd.o] Error 1
i also attached the complete outputs in "pd_make_output"
didn't find more info in the archives and i cant guess what i should do...
if you need more info/files or computer specs, let me know
thanx in advance -andre ps. can i compile pd as user using "su" ? i'm quite new to this... pss. when should i use "make clean" ?
Hallo, Andre Schmidt hat gesagt: // Andre Schmidt wrote:
couple weeks ago i desided to delete my win2k from my hd and installed suse8.1 installation went smoothly. all of my hardware was detected automaticly and are working perfectly. i had a little trouble installing the official nvidia drivers for my gforce card, but after couple days i got it right (newbie mistakes)... cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
-DDL_OPEN -DALSA01 -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/t_tkcmd.o t_tkcmd.c cc1: warnings being treated as errors t_tkcmd.c: In functionpdgui_startup': t_tkcmd.c:349: warning: passing arg 3 of
Tcl_CreateCommand' from incompatible pointer type make: *** [t_tkcmd.o] Error 1
You still try to compile with -Werror, see the error message above. You should delete -Werror from makefile.in before doing the configure. configure creates a new makefile from makefile.in(-put!)
Frank Barknecht _ ______footils.org__
hmm,
configure creates a new makefile from makefile.in(-put!)
thnx, does that -put mean something ?
here we go again:
(using "su" as user) used "make clean" deleted the "-werror" from makefile.in "./configure --enable-alsa" "make depend" "make install"
s_linux.o: In function alsa_open_audio': s_linux.o(.text+0x3634): Warning: start_mode is deprecated, consider to use start_threshold s_linux.o(.text+0x3652): Warning: xrun_mode is deprecated, consider to use stop_threshold t_tkcmd.c: In function
pdgui_startup':
t_tkcmd.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible
pointer type
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
cannot find -ltk8.3
collect2: ld returned 1 exit status
make: *** [../bin/pd-gui] Error 1
i'm also a little confused...
checking for main in -ltcl8.7... (cached) no checking for main in -ltcl8.6... (cached) no checking for main in -ltcl8.5... (cached) no checking for main in -ltcl8.4... (cached) no checking for main in -ltcl8.3... (cached) yes checking for main in -ltk8.7... (cached) no checking for main in -ltk8.6... (cached) no checking for main in -ltk8.5... (cached) no checking for main in -ltk8.4... (cached) no checking for main in -ltk8.3... (cached) yes
so i assume it "finds" tcl/tk8.3 libs, but my yast2 says i got 8.4
hmm, then i take a look in my FS /usr/lib/tk8.4 [exist] /usr/lib/tcl8.4 [exist]
then what i think "configure.in" searches: /usr/include/tk8.x [doesnt exist] /usr/include/tcl8.x [doesnt exist] and "tk.h" is in /usr/include
hmm...
should i get the newest/best tcl/tk sources and compile it ?
thnx -andre
On Friday 21 March 2003 21:46, Frank Barknecht wrote:
Hallo,
Andre Schmidt hat gesagt: // Andre Schmidt wrote:
couple weeks ago i desided to delete my win2k from my hd and installed suse8.1 installation went smoothly. all of my hardware was detected automaticly and are working perfectly. i had a little trouble installing the official nvidia drivers for my gforce card, but after couple days i got it right (newbie mistakes)... cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DALSA01 -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/t_tkcmd.o t_tkcmd.c cc1: warnings being treated as errors t_tkcmd.c: In function
pdgui_startup': t_tkcmd.c:349: warning: passing arg 3 of
Tcl_CreateCommand' from incompatible pointer type make: *** [t_tkcmd.o] Error 1You still try to compile with -Werror, see the error message above. You should delete -Werror from makefile.in before doing the configure. configure creates a new makefile from makefile.in(-put!)
ciao
hi! try removing src/config.cache before configure+compile. this file contains old configure-results and might lead to wrong compiling options, if you changed your tcl-verion inbetween. i remember compiling pd on a suse8.2+tcl8.4 a few weeks ago, and it was not too hard (but i don't remember all the details - sorry) regards d13b
checking for main in -ltcl8.4... (cached) no checking for main in -ltcl8.3... (cached) yes
^^^^^^^^
Hallo, Andre Schmidt hat gesagt: // Andre Schmidt wrote:
hmm,
configure creates a new makefile from makefile.in(-put!)
thnx, does that -put mean something ?
No, it was just to explain, that the "in" in "makefile.in" is shorthand for "input".
here we go again:
(using "su" as user) used "make clean" deleted the "-werror" from makefile.in "./configure --enable-alsa" "make depend" "make install"
and now i get this
s_linux.o: In function
alsa_open_audio': s_linux.o(.text+0x3634): Warning: start_mode is deprecated, consider to use start_threshold s_linux.o(.text+0x3652): Warning: xrun_mode is deprecated, consider to use stop_threshold t_tkcmd.c: In function
pdgui_startup': t_tkcmd.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -ltk8.3 collect2: ld returned 1 exit status make: *** [../bin/pd-gui] Error 1
i'm also a little confused...
./configure says
checking for main in -ltcl8.7... (cached) no checking for main in -ltcl8.6... (cached) no checking for main in -ltcl8.5... (cached) no checking for main in -ltcl8.4... (cached) no checking for main in -ltcl8.3... (cached) yes checking for main in -ltk8.7... (cached) no checking for main in -ltk8.6... (cached) no checking for main in -ltk8.5... (cached) no checking for main in -ltk8.4... (cached) no checking for main in -ltk8.3... (cached) yes
so i assume it "finds" tcl/tk8.3 libs, but my yast2 says i got 8.4
Please try to remove config.cache in the src directory. It looks as if configure is reading wrong data from its cache. If you delete config.cache, the "(cached)" while running configure should go away and configure should find the real tk, that you have installed.
Frank Barknecht _ ______footils.org__
i had the same problem, ... seems to be the compiler-version included in the new SuSE-Version (?). but without the -Werror flag pd compiled without problems. marius.
----- Original Message ----- From: "Frank Barknecht" fbar@footils.org To: "pd-list" pd-list@iem.kug.ac.at Sent: Saturday, March 22, 2003 11:36 AM Subject: Re: [PD] linux newbie compiling
Hallo, Andre Schmidt hat gesagt: // Andre Schmidt wrote:
hmm,
configure creates a new makefile from makefile.in(-put!)
thnx, does that -put mean something ?
No, it was just to explain, that the "in" in "makefile.in" is shorthand for "input".
here we go again:
(using "su" as user) used "make clean" deleted the "-werror" from makefile.in "./configure --enable-alsa" "make depend" "make install"
and now i get this
s_linux.o: In function `alsa_open_audio': s_linux.o(.text+0x3634): Warning: start_mode is deprecated, consider to
use
start_threshold s_linux.o(.text+0x3652): Warning: xrun_mode is deprecated, consider to
use
stop_threshold t_tkcmd.c: In function
pdgui_startup': t_tkcmd.c:349: warning: passing arg 3 of
Tcl_CreateCommand' from
incompatible
pointer type /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -ltk8.3 collect2: ld returned 1 exit status make: *** [../bin/pd-gui] Error 1
i'm also a little confused...
./configure says
checking for main in -ltcl8.7... (cached) no checking for main in -ltcl8.6... (cached) no checking for main in -ltcl8.5... (cached) no checking for main in -ltcl8.4... (cached) no checking for main in -ltcl8.3... (cached) yes checking for main in -ltk8.7... (cached) no checking for main in -ltk8.6... (cached) no checking for main in -ltk8.5... (cached) no checking for main in -ltk8.4... (cached) no checking for main in -ltk8.3... (cached) yes
so i assume it "finds" tcl/tk8.3 libs, but my yast2 says i got 8.4
Please try to remove config.cache in the src directory. It looks as if configure is reading wrong data from its cache. If you delete config.cache, the "(cached)" while running configure should go away and configure should find the real tk, that you have installed.
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list