Hey
I'm trying to compile iemnet on Windows XP 32-bit with mingw-w64 (using the mingw32-make command). I'm stuck at:
--- iemnet_notify.o: In function `pollfun': c:\puredata\pd-iemnet/iemnet_notify.c:122: undefined reference to `read' iemnet_notify.o: In function `iemnet__notify': c:\puredata\pd-iemnet/iemnet_notify.c:64: undefined reference to `write' iemnet_notify.o: In function `iemnet__notify_create': c:\puredata\pd-iemnet/iemnet_notify.c:147: undefined reference to `pipe' collect2.exe: error: ld returned 1 exit status makefile:267: recipe for target 'libiemnet.dll' failed mingw32-make: *** [libiemnet.dll] Error 1 ---
Apparently, something is missing. Hints?
Roman
Hi Roman,
Hey
I'm trying to compile iemnet on Windows XP 32-bit with mingw-w64 (using the mingw32-make command). I'm stuck at:
iemnet_notify.o: In function `pollfun': c:\puredata\pd-iemnet/iemnet_notify.c:122: undefined reference to `read' iemnet_notify.o: In function `iemnet__notify': c:\puredata\pd-iemnet/iemnet_notify.c:64: undefined reference to `write' iemnet_notify.o: In function `iemnet__notify_create': c:\puredata\pd-iemnet/iemnet_notify.c:147: undefined reference to `pipe' collect2.exe: error: ld returned 1 exit status makefile:267: recipe for target 'libiemnet.dll' failed mingw32-make: *** [libiemnet.dll] Error 1
Apparently, something is missing. Hints?
While testing the Makefile.pdlibbuilder, I found that iemnet depends on a pipe library, which appeared not to be supported by MinGW. CygWin is roumoured to support it, but I never tried this.
Roman
Greetings,
Fred Jan
On Don, 2015-06-25 at 19:32 +0200, Fred Jan Kraan wrote:
Hi Roman,
Hey
I'm trying to compile iemnet on Windows XP 32-bit with mingw-w64 (using the mingw32-make command). I'm stuck at:
iemnet_notify.o: In function `pollfun': c:\puredata\pd-iemnet/iemnet_notify.c:122: undefined reference to `read' iemnet_notify.o: In function `iemnet__notify': c:\puredata\pd-iemnet/iemnet_notify.c:64: undefined reference to `write' iemnet_notify.o: In function `iemnet__notify_create': c:\puredata\pd-iemnet/iemnet_notify.c:147: undefined reference to `pipe' collect2.exe: error: ld returned 1 exit status makefile:267: recipe for target 'libiemnet.dll' failed mingw32-make: *** [libiemnet.dll] Error 1
Apparently, something is missing. Hints?
While testing the Makefile.pdlibbuilder, I found that iemnet depends on a pipe library, which appeared not to be supported by MinGW. CygWin is roumoured to support it, but I never tried this.
Thanks for the hint. According to IOhannes in #dataflow, iemnet switched to using pipes at some point, so I tried a checkout from 2012 and it compiled fine.
Roman
On 06/25/2015 07:32 PM, Fred Jan Kraan wrote:
While testing the Makefile.pdlibbuilder, I found that iemnet depends on a pipe library, which appeared not to be supported by MinGW. CygWin is roumoured to support it, but I never tried this.
rather than an obscure "pipe library" iemnet uses the POSIX standard "pipe()". the rest is correct though (and i never tried it either; nor do i intend to go the cygwin route)
gfmadsr IOhannes