Skip to content

Errors when executing make #45

@moth754

Description

@moth754

I am getting the following when executing make. Any help much appreciate and realise I've almost certainly made a mistake. Raspberry Pi 4 running a new rasbian install, with dependencies installed.

Making all in src make[1]: Entering directory '/home/pi/rotter-0.9/src' make all-am make[2]: Entering directory '/home/pi/rotter-0.9/src' gcc -g -O2 -Wunused -Wall -I/usr/include/opus -o rotter rotter.o jack.o twolame.o sndfile.o lame.o mpegaudiofile.o deletefiles.o -lm -lm -ljack -lpthread -lsndfile /usr/bin/ld: jack.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here
/usr/bin/ld: twolame.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here /usr/bin/ld: sndfile.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here
/usr/bin/ld: lame.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here /usr/bin/ld: mpegaudiofile.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here
/usr/bin/ld: deletefiles.o:/home/pi/rotter-0.9/src/rotter.h:135: multiple definition of mpegaudio_file'; rotter.o:/home/pi/rotter-0.9/src/rotter.h:135: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:279: rotter] Error 1 make[2]: Leaving directory '/home/pi/rotter-0.9/src' make[1]: *** [Makefile:189: all] Error 2 make[1]: Leaving directory '/home/pi/rotter-0.9/src' make: *** [Makefile:325: all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions