multiple definition of `mast_encodings'

#11 · closed · 1 comments

View on GitHub ↗

hb9eue

Hi Thanks for this nice tool. Unfortunately I am unable to complie on my Debian Bookworm system: ``` gcc -g -O2 -O2 -o mast-info info.o utils.o rtp.o socket.o sdp.o -lm /usr/bin/ld: utils.o:/home/panizzon/git/mast/src/mast.h:208: multiple definition of `mast_encodings'; info.o:/home/panizzon/git/mast/src/mast.h:208: first defined here /usr/bin/ld: rtp.o:/home/panizzon/git/mast/src/mast.h:208: multiple definition of `mast_encodings'; info.o:/home/panizzon/git/mast/src/mast.h:208: first defined here /usr/bin/ld: socket.o:/home/panizzon/git/mast/src/mast.h:208: multiple definition of `mast_encodings'; info.o:/home/panizzon/git/mast/src/mast.h:208: first defined here /usr/bin/ld: sdp.o:/home/panizzon/git/mast/src/mast.h:208: multiple definition of `mast_encodings'; info.o:/home/panizzon/git/mast/src/mast.h:208: first defined here ```

Comments

njh

Sorry, not done any work on mast for quite a few years. Hopefully the fix I have just pushed helps.