[linux-audio-user] ladspavst compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"JP Mercury":
                                                                                                                                                            
>Hi everyone-
>                                                                                                                                                            
>I have vstserver working, but I'm trying to get ladspavst to compile. 
>Here's
>the compile errors:
>                                                                                                                                                            
>gcc -c vst.c -Wall -Iinclude -I../vstserver/include -I/usr/local/include 
>-g -O2
>vst.c: In function `_init':
>vst.c:505: error: assignment of read-only member `HintDescriptor'
>vst.c:506: error: assignment of read-only member `LowerBound'
>vst.c:507: error: assignment of read-only member `UpperBound'
>vst.c:518: error: assignment of read-only member `HintDescriptor'
>vst.c:520: error: assignment of read-only member `HintDescriptor'
>vst.c:523: error: assignment of read-only member `HintDescriptor'
>vst.c:527: error: assignment of read-only member `HintDescriptor'
>vst.c:531: error: assignment of read-only member `HintDescriptor'
>vst.c:533: error: assignment of read-only member `HintDescriptor'
>vst.c:536: error: assignment of read-only member `HintDescriptor'
>vst.c:544: error: assignment of read-only member `HintDescriptor'
>vst.c:546: error: assignment of read-only member `LowerBound'
>vst.c:547: error: assignment of read-only member `UpperBound'
>vst.c:550: warning: assignment from incompatible pointer type
>make: *** [vst.o] Error 1
 
I know about this, but I have only got warnings, not errors.
Try to remove -Wall:

gcc -c vst.c -Iinclude -I../vstserver/include -I/usr/local/include -g -O2


-- 
                                                                                                                                                            


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux