david casal said this at Wed, 12 Feb 2003 16:43:31 +0000:
Hey,
Ho.
On Wed, 12 Feb 2003, Adam Lindsay wrote:
I think you can turn these warnings off with -Wno-shadow. Whether doing such a thing is actually harmful, I don't know, but I've blithely ignored those errors for months, now. :)
Ok getting rid of -Werror and changing -Wshadow to -Wno-shadow got rid of a lot of errors ;-)
Oh good.
however, it still complains:
gcc: unrecognized option `-shared' ld: unknown flag: -export_dynamic make: *** [rhythm_ioi_histogram.pd_linux] Error 1
Looks like it. Did you see my email to Michael McGonagle 2 weeks ago? The linux-ish flags, for example: LINUXLDFLAGS = -export_dynamic -shared
should pretty much be converted into:
MACOSXLDFLAGS = -bundle -bundle_loader /path/to/pd/bin/pd -flat_namespace
Also, if you're modifying a makefile, best to do a bit of modified cut- and-paste and create a pd_darwin target alongside the pd_linux target. I notice from the error that your makefile is trying to make 'rhythm_ioi_histogram.pd_linux', which can create problems on the Mac, even if you succeed. ;)
Cheers, adam
and it does the same for other externals, too. of course, taking those flags out screws things up.
Muh?
hum.
david casal said this at Wed, 12 Feb 2003 13:58:16 +0000:
Hi all,
I keep getting:
In file included from /usr/include/math.h:24, from bangfilt.c:5: /usr/include/architecture/ppc/math.h:228: warning: declaration of `exp' shadows a global declaration
and:
In file included from /usr/include/math.h:24, from rhythm_ioi_histogram.c:22: /usr/include/architecture/ppc/math.h:228: warning: declaration of `exp' shadows a global declaration /usr/include/architecture/ppc/math.h:214: warning: shadowed declaration is here
the two above are (respectively) from trying to compile all externals from a tweaked makefile in the build/darwin dir, and from trying to compile rhythm_estimator.
since I had success in compiling ann.pd_darwin using chaos's makefile, I thought I'd venture into more dangerous territory. Obviously foolish of me.
(all I wanted was to compile cxc/counter, but it -would- indeed be nice to crack compiling all externals on darwin from cvs)
Any thoughts, anyone?
d
david casal --0+
d.casal@uea.ac.uk --9+
ecdc.dyndns.org/dc --)+
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
--
Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
david casal --0+
d.casal@uea.ac.uk --9+
ecdc.dyndns.org/dc --)+
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list