Hi

I'm trying to compile a non-generic OPENBSD_5_3/i386 kernel and get this error:

ld -Ttext 0xD0200120 -e start -N --warn-common -nopie -X -o bsd ${SYSTEM_HEAD} 
vers.o ${OBJS}
ulpt.o(.text+0x8d): In function `ulpt_ucode_loader_hp':
/mnt/src/sys/dev/usb/ulpt.c:685: undefined reference to `loadfirmware'
*** Error code 1

After applying this patch, it builds and boots fine - not that i have a chance to actually test ulpt(4).

--- dev/usb/files.usb.orig      Mon Apr 29 09:09:11 2013
+++ dev/usb/files.usb   Mon Apr 29 11:37:09 2013
@@ -109,7 +109,7 @@
 file   dev/usb/ucycom.c                ucycom                  needs-flag

 # Printers
-device ulpt
+device ulpt: firmload
 attach ulpt at uhub
 file   dev/usb/ulpt.c                  ulpt                    needs-flag

Thanks,

Dennis

Reply via email to