--with-libudev is not a valid command for cgminer configuration
Tried it again without '--with-libudev' and still got what looks like the syntax error.
sudo make
make all-recursive
make[1]: Entering directory `/usr/src/cgminer'
Making all in lib
make[2]: Entering directory `/usr/src/cgminer/lib'
GEN arg-nonnull.h
GEN c++defs.h
GEN warn-on-use.h
GEN signal.h
GEN stdint.h
GEN string.h
make all-recursive
make[3]: Entering directory `/usr/src/cgminer/lib'
make[4]: Entering directory `/usr/src/cgminer/lib'
CC dummy.o
CC memmem.o
AR libgnu.a
make[4]: Leaving directory `/usr/src/cgminer/lib'
make[3]: Leaving directory `/usr/src/cgminer/lib'
make[2]: Leaving directory `/usr/src/cgminer/lib'
Making all in compat
make[2]: Entering directory `/usr/src/cgminer/compat'
Making all in jansson
make[3]: Entering directory `/usr/src/cgminer/compat/jansson'
CC dump.o
CC error.o
CC hashtable.o
CC load.o
CC memory.o
CC pack_unpack.o
CC strbuffer.o
CC strconv.o
CC utf.o
CC value.o
AR libjansson.a
make[3]: Leaving directory `/usr/src/cgminer/compat/jansson'
Making all in libusb-1.0
make[3]: Entering directory `/usr/src/cgminer/compat/libusb-1.0'
make all-recursive
make[4]: Entering directory `/usr/src/cgminer/compat/libusb-1.0'
Making all in libusb
make[5]: Entering directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
CC libusb_1_0_la-core.lo
CC libusb_1_0_la-descriptor.lo
CC libusb_1_0_la-io.lo
In file included from /usr/include/signal.h:356:0,
from io.c:23:
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:1:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'definitions'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:40: error: unknown type name 'you'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: unknown type name 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:7:58: error: unknown type name 'either'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:30: error: unknown type name 'without'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: unknown type name 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:16:42: error: expected identifier or '(' before 'if'
make[5]: *** [libusb_1_0_la-io.lo] Error 1
make[5]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cgminer/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2
pi@raspberrypi /usr/src/cgminer $
I've also tried to use the Super Tutorial Raspberry Pi+Raspbian+CGMiner+TightVNC+WIFI at boot
https://bitcointalksearch.org/topic/super-tutorial-raspberry-piraspbiancgminertightvncwifi-at-boot-233392but the command git clone git://github.com/ckolivas/cgminer.git cgminer
gives me
Cloning into 'cgminer'...
fatal: unable to connect to github.com:
github.com: No address associated with hostname
I've asked for help on that thread, but so far had no response.
Since all I want is to get CGminer running on my Pi,
seems like the binaries kano referenced are what I would need.
I downloaded the repository and extracted the cgminer-3.4.2 directory and the cgminer-3.4.2a file
but can't figure out how to make them run.
Still need a little help.