]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commit
Fix linker complains about missing libraries
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 Apr 2011 05:25:13 +0000 (07:25 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 Apr 2011 05:25:13 +0000 (07:25 +0200)
commit8103b9e77068ef667b44bb9642003bf002d72b0b
treef9e0cd571419c1faae926360d3b43314b03880bc
parent31cd1c465bd9a6c890542f7137efdf328dc3cdba
Fix linker complains about missing libraries

After an upgrade, I got errors like this:
  /usr/bin/ld: fwp-timing.o: undefined reference to symbol 'clock_nanosleep@@GLIBC_2.2.5'
  /usr/bin/ld: note: 'clock_nanosleep@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
  /lib64/librt.so.1: could not read symbols: Invalid operation

It was sufficient to fix them by adding mentioned libraries explicitely in
Makefile.omk.
src/forb/src/forbrun/Makefile.omk
src/forb/src/tests/Makefile.omk
src/frsh/demo/video/Makefile.omk
src/frsh/frsh_api/tests/Makefile.omk
src/frsh/resources/acpi_battery/tests/Makefile.omk
src/frsh/resources/item/tests/Makefile.omk
src/fwp/fwp/mngr/Makefile.omk
src/fwp/fwp/tests/timing/Makefile.omk
src/fwp/wme_test/Makefile.omk