I'm trying to build this now on Fedora 14 with net-snmp enabled, and I get the following error:
magicolor.c: In function 'mc_network_discovery_handle': magicolor.c:1800:2: error: 'netsnmp_indexed_addr_pair' undeclared (first use in this function) magicolor.c:1800:2: note: each undeclared identifier is reported only once for each function it appears in magicolor.c:1800:29: error: 'responder' undeclared (first use in this function) magicolor.c:1800:69: error: expected expression before ')' token magicolor.c:1801:2: warning: ISO C90 forbids mixed declarations and code magicolor.c: In function 'mc_network_discovery': magicolor.c:1909:20: warning: pointer targets in assignment differ in signedness magicolor.c:1910:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'u_char *' magicolor.c:1912:20: warning: assignment discards qualifiers from pointer target type make[2]: *** [libmagicolor_la-magicolor.lo] Error 1 And poking around in /usr/include/net-snmp reveals no definition for netsnmp_indexed_addr_pair. This is using net-snmp 5.5, which seems like it might still be a current release? allan On Tue, Jan 25, 2011 at 5:17 PM, Brian Shaver <shakerlxxv at gmail.com> wrote: > These changes compiled fine for me on Fedora 13 x64. > Thanks, > Brian .. > > On Tue, Jan 25, 2011 at 3:38 PM, Reinhold Kainhofer <reinhold at > kainhofer.com> > wrote: >> >> Am Samstag, 22. Januar 2011, um 11:54:29 schrieb Reinhold Kainhofer: >> > Anyway, I have a local patch that gets rid of all the byteorder.h macros >> > and instead copies all little-endian encoded values manually >> > byte-by-byte. >> > I'm currently away from home, so I cant test it with my magicolor >> > scanner. >> > I'll commit it as soon as I'm back home (probably tomorrow). >> >> Finally, I could test that patch and fix all the problems with it. I've >> now >> pushed a fix to the problems (I no longer use the htole32a etc. macros), >> so I >> hope that the backend now properly compiles also on 64-bit systems. >> >> Cheers, >> Reinhold >> -- >> ------------------------------------------------------------------ >> Reinhold Kainhofer, reinhold at kainhofer.com, http://reinhold.kainhofer.com/ >> ?* Financial & Actuarial Math., Vienna Univ. of Technology, Austria >> ?* http://www.fam.tuwien.ac.at/, DVR: 0005886 >> ?* LilyPond, Music typesetting, http://www.lilypond.org >> >> -- >> sane-devel mailing list: sane-devel at lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"