Date: Sun, 30 Mar 1997 08:51:02 -0800 (PST) From: jadeite <jadeite@light.pomona.edu> To: freebsd-questions@freebsd.org Subject: parallel zip drive for FreeBSD 2.2 Message-ID: <Pine.BSF.3.95q.970330083821.14519A-100000@light.pomona.edu>
next in thread | raw e-mail | index | archive | help
Has anyone got this working?
I got the driver from Nicolas Souchu and follow the directions but the
kernel doesn't compile.
here the the relvant lines in the kernel
#zip stuff
options "PPA_ECHECKING=3" # More error checking in EPP mode
# 0 = no error checking
# 1 = check every 4 bytes
# 2 = check every 2 bytes
# 3 = check every byte
# PPA_ECHECKING is 3 by default.
options "PPA_WARNING" # To allow warning logs, forced
# in ALPHA/BETA releases.
#options "PPA_21x_COMPAT" # With FreeBSD 2.1.x
I tried compiling with PPA_21x_COMPAT commented and uncommented and got
the same error, some thing is wrong with the compile for ppa3.c
Here are relevant lines from kernel compile
Script started on Sun Mar 30 08:35:17 1997
light: {1} make depend
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DCMD640 -DPPA_WARNING -DPPA_ECHECKING=3 -DFAILSAFE -DCOMPAT_43 -DMSDOS
etc, etc, etc,...
../../i386/isa/ppa3.c:127: warning: `PPA_WARNING' redefined
*Initialization*:1: warning: this is the location of the previous definition
^^^^^^^^^^^^^^^^ I can't find this
../../i386/isa/ppa3.c:148: syslog.h: No such file or directory
mkdep: compile failed.
*** Error code 1
Stop.
light: {2} cat -n ../../i386/isa/pa[Kpa3.c
1 /*
2 * /sys/i386/isa/ppa3.c
3 *
4 * FreeBSD driver for PPA3 adapter
5 * embedded in the IOMEGA ZIP 100 drive.
6 *
7 * See README file.
8 *
9 *
10 * Release: 0.10
11 * Release: 0.11
12 * -------------
123 /* XXX
124 * This is ALPHA/BETA code, warnings are mandatory.
125 */
126 #define PPA_WARNING /* defined to get warnings about timeouts,
127 * except select timeouts */
128
../../i386/isa/ppa3.c:127: warning: `PPA_WARNING' redefined
So I guess that error is supposed to be there.
129 /*
130 * DO NOT MODIFY ANYTHING UNDER THIS LINE
131 * --------------------------------------------------------------------
132 */
133
134 #include <sys/types.h>
135
136 #ifdef KERNEL
147
148 #include <syslog.h>
149
This is the weirdest thing.
../../i386/isa/ppa3.c:148: syslog.h: No such file or directory
light: {3} locate syslog.h
/usr/include/sys/syslog.h
/usr/include/syslog.h
/usr/src/sys/sys/syslog.h
light: {4} exit
exit
Script done on Sun Mar 30 08:38:14 1997
Anyone have any ideas?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970330083821.14519A-100000>
