[PD-dev] zexy external z_lp does not compile on PPC Linux

lee at fallingforward.net lee at fallingforward.net
Sat Dec 6 23:33:06 CET 2003


bash-2.05b# uname -a
Linux kitty 2.4.22-ben2 #1 Sun Nov 30 15:22:32 EST 2003 ppc  740/750
GNU/Linux

z_lp.c:19:20: sys/io.h: No such file or directory
z_lp.c: In function `lp_float':
z_lp.c:41: warning: implicit declaration of function `outb'
z_lp.c: In function `lp_new':
z_lp.c:83: warning: implicit declaration of function `ioperm'
z_lp.c:90: warning: implicit declaration of function `iopl'

bash-2.05b# ls -l /usr/include/sys | grep io
-rw-r--r--    1 root     root         1825 Nov 30 06:44 ioctl.h
-rw-r--r--    1 root     root        11230 Nov 30 06:44 mtio.h
-rw-r--r--    1 root     root           74 Nov 30 06:44 termios.h
-rw-r--r--    1 root     root         1874 Nov 30 06:44 uio.h

and on my AMD system I find a comment in /usr/include/sys/io.h that
calls in this file are not supported on all arcitectures. I guess this
would make sense because most Macs don't have parallel ports. In fact most
Macs that are even worth running Linux on don't have serial ports either,
only USB and Firewire.

I don't know how to edit makefiles. Would it be possible to check for the
existance of PPC Linux and not compile z_lp ?

-lee




More information about the Pd-dev mailing list