ld: cannot find -lprocps | 0.6.2 @ openSUSE
This bug report was converted into a question: question #243221: ld: cannot find -lprocps | 0.6.2 @ openSUSE.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
I-Nex |
Invalid
|
Undecided
|
Unassigned |
Bug Description
> rpm -ql procps-devel libprocps1
/usr/include/proc
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/include/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
[ 9s] + cd I-Nex-0.6.2
[ 9s] + make V=1 -j2
[ 9s] Compile edid-decode as inex-decode
[ 9s] gcc -o i-nex-edid JSON/edid-decode.c -g -Wall -O2
[ 9s] JSON/edid-decode.c: In function 'detailed_block':
[ 9s] JSON/edid-
[ 9s] printf(" %dx%d @ ( %s%s%s%s%s) Hz (%s%s preferred)\n", width, height,
[ 9s] ^
[ 9s] JSON/edid-
[ 9s] int width, height;
[ 9s] ^
[ 10s] JSON/edid-decode.c: In function 'main':
[ 10s] JSON/edid-
[ 10s] nonconformant_
[ 10s] ^
[ 10s] JSON/edid-
[ 10s] printf("%s%s: %s (%d)\n", prefix, field->name, v->description, val);
[ 10s] ^
[ 10s] JSON/edid-
[ 10s] struct value *v;
[ 10s] ^
[ 10s] JSON/edid-
[ 10s] printf(" %dx%d@%dHz\n", x, y, refresh);
[ 10s] ^
[ 10s] JSON/edid-
[ 10s] write(ofd, edid, edid_lines * 16);
[ 10s] ^
[ 11s] gcc -o i-nex-cpuid JSON/cpu.c -static -I/usr/
[ 12s] gcc -o i-nex-usage JSON/free.c -static -lprocps -O2
[ 12s] /usr/lib64/
[ 12s] collect2: error: ld returned 1 exit status
Try to use:
pkg-config libprocps --cflags --libs
or
-lproc