You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use docker with the latest alpine version image, cmake and ninja. I also have the same with make. I did not reproduce it with an ubuntu image or directly on an ubuntu.
Here is the error
#8 3.735 /dlt-daemon/src/lib/dlt_user.c: In function 'dlt_init_common':
#8 3.735 /dlt-daemon/src/lib/dlt_user.c:764:28: error: passing argument 1 of 'pthread_attr_init' from incompatible pointer type [-Wincompatible-pointer-types]
#8 3.735 764 | if ((pthread_attr_init(&dlt_mutex_attr) != 0) ||
#8 3.735 | ^~~~~~~~~~~~~~~
#8 3.735 | |
#8 3.735 | pthread_mutexattr_t *
Here is the docker command I use
RUN git clone https://github.com/COVESA/dlt-daemon.git
RUN <<EOF
cd dlt-daemon
mkdir build
cd build
cmake -G Ninja ..
ninja -j 4
cmake -P cmake_install.cmake
cd /
EOF
Here is the installed libs
FROM alpine:latest
RUN apk update
RUN apk add --no-cache \
gcc \
g++ \
cmake \
ninja-is-really-ninja \
make \
autoconf \
automake \
git \
gdb \
dbus-dev \
zlib-dev
Hope it can help 😊
The text was updated successfully, but these errors were encountered:
Hello 👋
I use docker with the latest alpine version image, cmake and ninja. I also have the same with make. I did not reproduce it with an ubuntu image or directly on an ubuntu.
Here is the error
Here is the docker command I use
Here is the installed libs
Hope it can help 😊
The text was updated successfully, but these errors were encountered: