Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

[FEDORA - AARCH64 - error compiling ws281x]

$
0
0

@pfrenard wrote:

Hello guys,

I am trying to make a unicornhat work with fedora28 using aarch64.

pip is not working with a compilation error, so I tried from a git clone.
So the issue is from pri-ws281x that is not compiling well :

Compiling ws281x library…
b’lib/ws2811.c: In function \xe2\x80\x98setup_pwm\xe2\x80\x99:\nlib/ws2811.c:395:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]\n dma_cb->dest_ad = (uint32_t)&((pwm_t *)PWM_PERIPH_PHYS)->fif1;\n ^\nlib/ws2811.c: In function \xe2\x80\x98setup_pcm\xe2\x80\x99:\nlib/ws2811.c:460:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]\n dma_cb->dest_ad = (uint32_t)&((pcm_t *)PCM_PERIPH_PHYS)->fifo;\n ^\nduring RTL pass: loop2_invariant\nlib/ws2811.c: In function \xe2\x80\x98ws2811_render\xe2\x80\x99:\nlib/ws2811.c:1253:1: internal compiler error: Segmentation fault\n }\n ^\nPlease submit a full bug report,\nwith preprocessed source if appropriate.\nSee http://bugzilla.redhat.com/bugzilla for instructions.\nPreprocessed source stored into /tmp/ccCu7B3N.out file, please attach this to your bugreport.\nmake: *** [Makefile:17: lib-built/ws2811.o] Error 1\n’
/usr/bin/ld: cannot find -lws2811

any hints to solve this issue ?

Thanks a lot

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles