Skip to content

problem in make -f Makefile-manual #4

@schrecklixh

Description

@schrecklixh

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

makeissue
`

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
gh2

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).

gh3

What could be wrong?

I'm using Ubuntu 18.1

thanks in advance guys!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions