-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build? #29
Comments
If you use the latest release (v0.2.0), you first need to fix it. (void)va_arg(*pap, const char *); and add the following line directly below that: /* FALLTHROUGH */ The you can build and install it like this: ./configure && make
make install I got some permission errors when running You should find the compiled binary in |
For me, I was able to almost build it with:
libhidrd_fmt.so.0 -o .libs/libhidrd_fmt.so.0.0.0
/usr/bin/ld: .libs/libhidrd_fmt_la-natv.o:(.rodata+0x0): multiple definition of `hidrd_natv_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0xc0): first defined here
/usr/bin/ld: .libs/libhidrd_fmt_la-spec.o:(.rodata+0x0): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
/usr/bin/ld: .libs/libhidrd_fmt_la-code.o:(.rodata+0x0): multiple definition of `hidrd_code_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x0): first defined here
/usr/bin/ld: .libs/libhidrd_fmt_la-code.o:(.rodata+0x60): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
/usr/bin/ld: natv/.libs/libhidrd_natv.a(snk.o):(.data.rel.ro.local+0x0): multiple definition of `hidrd_natv_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0xc0): first defined here
/usr/bin/ld: spec/.libs/libhidrd_spec.a(snk.o):(.data.rel.ro+0x0): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
/usr/bin/ld: spec/.libs/libhidrd_spec.a(item.o):(.rodata+0x60): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
/usr/bin/ld: spec/.libs/libhidrd_spec.a(item_ent.o):(.rodata+0x0): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
/usr/bin/ld: code/.libs/libhidrd_code.a(snk.o):(.data.rel.ro+0x0): multiple definition of `hidrd_code_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x0): first defined here
/usr/bin/ld: code/.libs/libhidrd_code.a(snk.o):(.rodata+0x0): multiple definition of `hidrd_spec_snk'; .libs/libhidrd_fmt_la-list.o:(.rodata+0x60): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:827: libhidrd_fmt.la] Error 1
make[4]: Leaving directory '/home/rik/Downloads/hidrd-0.2.0/lib/fmt'
make[3]: *** [Makefile:1021: all-recursive] Error 1
make[3]: Leaving directory '/home/rik/Downloads/hidrd-0.2.0/lib/fmt'
make[2]: *** [Makefile:377: all-recursive] Error 1
make[2]: Leaving directory '/home/rik/Downloads/hidrd-0.2.0/lib'
make[1]: *** [Makefile:428: all-recursive] Error 1
make[1]: Leaving directory '/home/rik/Downloads/hidrd-0.2.0'
make: *** [Makefile:360: all] Error 2 I've given up and chosen instead to use this online tool for converting hid descriptors to human readable format. Debian removed it altogether from all sources - nothing else really works in its place. hid-tools instructions violate Debian's 'externally manage' environment, and isn't available as |
With this change the command can be compiled on Ubuntu 22.04.3 LTS.
|
Can someone include a "how to build" section for NOOBS in the makefile?
I tried:
autoreconf
and it doesn't work. I get errors like:
configure.ac:47: error: required file 'auxdir/ar-lib' not found
The text was updated successfully, but these errors were encountered: