diff --git a/README.md b/README.md index b11de48aa..2228f2441 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ installed. You will need to have the following installed: * gcc * make * binutils -* the development library of libcap (libcap-dev or equivalient) for normal building. These should be installed on most Linux installations and are part of the development packages of Cygwin. @@ -183,7 +182,7 @@ This uses Ubuntu as the base image. It will copy OpENer to the image root and in #Filename: Dockerfile FROM ubuntu:20.04 ADD ./bin/posix/src/ports/POSIX/OpENer / -RUN apt-get update && apt-get install -y --no-install-recommends libcap-dev nmap +RUN apt-get update && apt-get install -y --no-install-recommends nmap ENTRYPOINT ["./OpENer", "eth0"] 3. Create a docker-compose.yml that will let you connect the macvlan network to the containers and easily build them and tear them down: diff --git a/source/src/ports/POSIX/CMakeLists.txt b/source/src/ports/POSIX/CMakeLists.txt index b0b0dd852..3405c1ea9 100755 --- a/source/src/ports/POSIX/CMakeLists.txt +++ b/source/src/ports/POSIX/CMakeLists.txt @@ -49,7 +49,7 @@ endif() if( NOT OpENer_TESTS) add_executable(OpENer main.c) - target_link_libraries( OpENer PLATFORM_GENERIC ${OpENer_PLATFORM}PLATFORM ${PLATFORM_SPEC_LIBS} CIP Utils SAMPLE_APP ENET_ENCAP NVDATA rt cap pthread) + target_link_libraries( OpENer PLATFORM_GENERIC ${OpENer_PLATFORM}PLATFORM ${PLATFORM_SPEC_LIBS} CIP Utils SAMPLE_APP ENET_ENCAP NVDATA rt pthread) # Add additional CIP Objects string(COMPARE NOTEQUAL "${OpENer_ADD_CIP_OBJECTS}" "" OpENer_HAS_ADDITIONAL_OBJECT )