Hello guys!
I'm new in this topic, and new in Ubuntu in general. I'm having a problem making the Makefile-manual
Receiving the following message:
cc -Wall -g pkg-config libudev --libs-lrt -shared -fpic -Wl,-soname,libhidapi-hidraw.so.0 hid.o -o libhidapi-hidraw.so /usr/bin/ld: hid.o: relocation R_X86_64_PC32 against symboldevice_string_names' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile-manual:36: libhidapi-hidraw.so] Error 1

`
After that I tried to move my 'Makefile-manual' to another folder, I executed the command 'make -f Makefile-manual' again.
It created 3 files

Once opening the 'hidtest-hitdraw' (which is the file that is supposed to contain the serial number of my emotiv device), it does not show anything (I use Vim to open it).

What could be wrong?
I'm using Ubuntu 18.1
thanks in advance guys!
Hello guys!
I'm new in this topic, and new in Ubuntu in general. I'm having a problem making the
Makefile-manualReceiving the following message:
cc -Wall -gpkg-config libudev --libs-lrt -shared -fpic -Wl,-soname,libhidapi-hidraw.so.0 hid.o -o libhidapi-hidraw.so /usr/bin/ld: hid.o: relocation R_X86_64_PC32 against symboldevice_string_names' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile-manual:36: libhidapi-hidraw.so] Error 1
`
After that I tried to move my 'Makefile-manual' to another folder, I executed the command 'make -f Makefile-manual' again.

It created 3 files
Once opening the 'hidtest-hitdraw' (which is the file that is supposed to contain the serial number of my emotiv device), it does not show anything (I use Vim to open it).
What could be wrong?
I'm using Ubuntu 18.1
thanks in advance guys!