hi
I am trying to compile pd extended on Ubuntu 12.04.1 32 bits. I am doing $ cd pure-data/packages/linux_make $ make install && make package
First I get an error related to libjack (undefined reference to 'jack_port_register'). The list archives suggested to replace all references to "jack" by "jack2" in pd/src/configure.
But now I am getting another error. This time gcc complains that unrecognized option '--export-dynamic'
I have gcc 4.6.3-1ubuntu5. I have searched online but I dont see what could I do to solve this. any ideas?
I have tried several times even starting from scratch deleting the whole folder and uncompressing again from the source tar.gz
thanks
enrike
I've ben trying to clean out all the "-export-dynamic" flags from makefiles... I think it as once necessary but is now meaningless and you can just delete them (presumably they'll be in files like "makefile.in" and "configure.in", and in the "extra" directory there were several occurrences in just plain "makefile"s.
cheers Miller
On Tue, Nov 06, 2012 at 10:21:08AM +0100, enrike wrote:
hi
I am trying to compile pd extended on Ubuntu 12.04.1 32 bits. I am doing $ cd pure-data/packages/linux_make $ make install && make package
First I get an error related to libjack (undefined reference to 'jack_port_register'). The list archives suggested to replace all references to "jack" by "jack2" in pd/src/configure.
But now I am getting another error. This time gcc complains that unrecognized option '--export-dynamic'
I have gcc 4.6.3-1ubuntu5. I have searched online but I dont see what could I do to solve this. any ideas?
I have tried several times even starting from scratch deleting the whole folder and uncompressing again from the source tar.gz
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
thanks, I finally managed to get it to compile by removing a few externals, but it would be nice to have them in case I use it in the near future. I might try to compile again.
ar., 2012.eko azaren 06a 20:34(e)an, Miller Puckette(e)k idatzi zuen:
I've ben trying to clean out all the "-export-dynamic" flags from makefiles... I think it as once necessary but is now meaningless and you can just delete them (presumably they'll be in files like "makefile.in" and "configure.in", and in the "extra" directory there were several occurrences in just plain "makefile"s.
cheers Miller
On Tue, Nov 06, 2012 at 10:21:08AM +0100, enrike wrote:
hi
I am trying to compile pd extended on Ubuntu 12.04.1 32 bits. I am doing $ cd pure-data/packages/linux_make $ make install && make package
First I get an error related to libjack (undefined reference to 'jack_port_register'). The list archives suggested to replace all references to "jack" by "jack2" in pd/src/configure.
But now I am getting another error. This time gcc complains that unrecognized option '--export-dynamic'
I have gcc 4.6.3-1ubuntu5. I have searched online but I dont see what could I do to solve this. any ideas?
I have tried several times even starting from scratch deleting the whole folder and uncompressing again from the source tar.gz
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 11/07/2012 09:05 AM, enrike wrote:
thanks, I finally managed to get it to compile by removing a few externals, but it would be nice to have them in case I use it in the near future. I might try to compile again.
it would also be nice if you could be more specific which externals made problems so somebody can fix them by simply going through the list, rather than having to build the entire pdx only to discover that there compiler does not choke and compiles everything just fine so there seems to be nothing to fix at all.
fgmadsr IOhannes
On Nov 7, 2012, at 3:44 AM, IOhannes m zmölnig wrote:
On 11/07/2012 09:05 AM, enrike wrote:
thanks, I finally managed to get it to compile by removing a few externals, but it would be nice to have them in case I use it in the near future. I might try to compile again.
it would also be nice if you could be more specific which externals made problems so somebody can fix them by simply going through the list, rather than having to build the entire pdx only to discover that there compiler does not choke and compiles everything just fine so there seems to be nothing to fix at all.
In other words, post a build log and we'll probably be able to help you.
.hc
og., 2012.eko azaren 08a 00:54(e)an, Hans-Christoph Steiner(e)k idatzi zuen:
On Nov 7, 2012, at 3:44 AM, IOhannes m zmölnig wrote:
On 11/07/2012 09:05 AM, enrike wrote:
thanks, I finally managed to get it to compile by removing a few externals, but it would be nice to have them in case I use it in the near future. I might try to compile again.
it would also be nice if you could be more specific which externals made problems so somebody can fix them by simply going through the list, rather than having to build the entire pdx only to discover that there compiler does not choke and compiles everything just fine so there seems to be nothing to fix at all.
In other words, post a build log and we'll probably be able to help you.
.hc
sorry. the "gcc export-dynamic error" happened while compiling pdp, so I went to externals/Makefile and removed all the pdpd related stuff in the LIB_TARGETS. I dont think I will need pdp in the near future so that should not be an issue for me right now.
so this is what I use to compile : LIB_TARGETS += hid iem16 postlude
and this was the original : LIB_TARGETS += hid pdp pidip gem2pdp iem16 pdp_opengl postlude
I just tried now to compile PD again with the original LIB_TARGETS including pdp in order to get the build log with the error I did not post in my first mail, I think this is the relevant part of it.
make -C test
make[5]: Entering directory
/home/r2d2/Mahaigaina/sources/0.42/externals/pdp/modules/test' rm -f *~ rm -f *.o make[5]: Leaving directory
/home/r2d2/Mahaigaina/sources/0.42/externals/pdp/modules/test'
make[4]: Leaving directory
/home/r2d2/Mahaigaina/sources/0.42/externals/pdp/modules' rm -f pdp.pd_linux gcc ---export-dynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o -lgslcblas -lm -lgslcblas -lgsl -lz -lpng -L/usr/X11R6/lib -lX11 -lquicktime -lGL -lGLU -lSDL gcc: error: unrecognized command line option ‘---export-dynamic’ make[3]: *** [linux_mmx] Error 1 make[3]: Leaving directory
/home/r2d2/Mahaigaina/sources/0.42/externals/pdp'
make[2]: ***
[/home/r2d2/Mahaigaina/sources/0.42/externals/pdp/pdp.pd_linux] Error 2
make[2]: Leaving directory /home/r2d2/Mahaigaina/sources/0.42/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory
/home/r2d2/Mahaigaina/sources/0.42/packages'
make: *** [install] Error 2
The reason I wrote my question to the list before removing pdp from LIB_TARGETS is that I did not notice in the online documentation that I could remove externals. I saw it after I wrote.
thanks
enrike
On 11/08/2012 12:16 PM, enrike wrote:
sorry. the "gcc export-dynamic error" happened while compiling pdp, so I went to externals/Makefile and removed all the pdpd related stuff in the LIB_TARGETS. I dont think I will need pdp in the near future so that should not be an issue for me right now.
[...]
thanks for the additional info. it seems that hans already fixed this in svn (2011-06-18).
fmgsdr# IOhannes
sorry. the "gcc export-dynamic error" happened while compiling pdp, so I went to externals/Makefile and removed all the pdpd related stuff in the LIB_TARGETS. I dont think I will need pdp in the near future so that should not be an issue for me right now.
[...]
thanks for the additional info. it seems that hans already fixed this in svn (2011-06-18).
mmm, but I used the svn version, or maybe it is another branch I used? I did
$ svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended... $ cd pure-data/packages/linux_make $ make install && make package
On 11/08/2012 02:07 PM, enrike wrote:
mmm, but I used the svn version, or maybe it is another branch I used? I did
$ svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended...
yes, it's fixed in the "trunk" https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/
mfgdsr IOhannes
On Nov 8, 2012, at 8:30 AM, IOhannes m zmölnig wrote:
On 11/08/2012 02:07 PM, enrike wrote:
mmm, but I used the svn version, or maybe it is another branch I used? I did
$ svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended...
yes, it's fixed in the "trunk" https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/
I just fixed in branches/pd-extended/0.42 since it was a simple fix.
.hc