src.c:(.text+0x3e): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x4a): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x56): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text+0x67): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
I did try the docker method, but, I didn't have much luck there either.
Step 24/53 : RUN mkdir appimagetool && cd appimagetool && wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage && echo "d918b4df547b388ef253f3c9e7f6529ca81a885395c31f619d9aaf7030499a13 appimagetool-x86_64.AppImage" | sha256sum -c && chmod +x appimagetool-x86_64.AppImage && ./appimagetool-x86_64.AppImage --appimage-extract && rm appimagetool-x86_64.AppImage
appimagetool-x86_64.AppImage: OK
/bin/sh: 1: ./appimagetool-x86_64.AppImage: not found
The command '/bin/sh -c mkdir appimagetool && cd appimagetool && wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage && echo "d918b4df547b388ef253f3c9e7f6529ca81a885395c31f619d9aaf7030499a13 appimagetool-x86_64.AppImage" | sha256sum -c && chmod +x appimagetool-x86_64.AppImage && ./appimagetool-x86_64.AppImage --appimage-extract && rm appimagetool-x86_64.AppImage' returned a non-zero code: 127
I would be willing to try a few things to help out, just not sure where to go from here.
I have not been able to get wowlet to compile on manjaro/arch with a 5.10 lts kernel.
I reported the issue on the AUR.
https://aur.archlinux.org/packages/wowlet-git/
```
src.c:(.text+0x3e): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x4a): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x56): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text+0x67): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
```
I did try the docker method, but, I didn't have much luck there either.
```
Step 24/53 : RUN mkdir appimagetool && cd appimagetool && wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage && echo "d918b4df547b388ef253f3c9e7f6529ca81a885395c31f619d9aaf7030499a13 appimagetool-x86_64.AppImage" | sha256sum -c && chmod +x appimagetool-x86_64.AppImage && ./appimagetool-x86_64.AppImage --appimage-extract && rm appimagetool-x86_64.AppImage
appimagetool-x86_64.AppImage: OK
/bin/sh: 1: ./appimagetool-x86_64.AppImage: not found
The command '/bin/sh -c mkdir appimagetool && cd appimagetool && wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage && echo "d918b4df547b388ef253f3c9e7f6529ca81a885395c31f619d9aaf7030499a13 appimagetool-x86_64.AppImage" | sha256sum -c && chmod +x appimagetool-x86_64.AppImage && ./appimagetool-x86_64.AppImage --appimage-extract && rm appimagetool-x86_64.AppImage' returned a non-zero code: 127
```
I would be willing to try a few things to help out, just not sure where to go from here.
I have not been able to get wowlet to compile on manjaro/arch with a 5.10 lts kernel.
I reported the issue on the AUR.
https://aur.archlinux.org/packages/wowlet-git/
I did try the docker method, but, I didn't have much luck there either.
I would be willing to try a few things to help out, just not sure where to go from here.