Skip to content

Fails to build on Fedora 36 #10

@ryanpg123

Description

@ryanpg123

@fedora keykit]$ make install_linux
if [ ! -d bin ] ; then mkdir bin ; fi
make install_stdio
make[1]: Entering directory '/home/ryanpg/src/keykit'
make copy_stdio
make[2]: Entering directory '/home/ryanpg/src/keykit'
if [ ! -d bin ] ; then mkdir bin ; fi
cp mdep/stdio/mdep1.c src/mdep1.c
cp mdep/stdio/mdep2.c src/mdep2.c
cp mdep/stdio/mdep.h src/mdep.h
cp mdep/stdio/makefile src/makefile
cp mdep/stdio/clock.c src/clock.c
cp mdep/stdio/midi.c src/midi.c
chmod +x mdep/stdio/rmcr
mdep/stdio/rmcr src/.c src/.h src/makefile
mdep/stdio/rmcr echo lib/* | grep -v .ppm
cp mdep/stdio/resetkeylib bin
mdep/stdio/rmcr bin/resetkeylib
chmod +x bin/resetkeylib
mdep/stdio/rmcr tests/*
make[2]: Leaving directory '/home/ryanpg/src/keykit'
cd byacc ; make -f makefile.stdio clobber ; make -f makefile.stdio
make[2]: Entering directory '/home/ryanpg/src/keykit/byacc'
make[2]: Leaving directory '/home/ryanpg/src/keykit/byacc'
make[2]: Entering directory '/home/ryanpg/src/keykit/byacc'
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o closure.o closure.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o error.o error.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o lalr.o lalr.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o lr0.o lr0.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o main.o main.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o mkpar.o mkpar.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o output.o output.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o reader.o reader.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o skeleton.o skeleton.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o symtab.o symtab.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o verbose.o verbose.c
gcc -O -Wno-implicit-int -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -c -o warshall.o warshall.c
/usr/bin/ld: main.o: in function create_file_names': main.c:(.text+0x437): warning: the use of mktemp' is dangerous, better use mkstemp' or mkdtemp'
done
make[2]: Leaving directory '/home/ryanpg/src/keykit/byacc'
cd src ; make clean ; make install
make[2]: Entering directory '/home/ryanpg/src/keykit/src'
rm -f d_*.h
rm -f *.o lowkey protoflp keylib
make[2]: Leaving directory '/home/ryanpg/src/keykit/src'
make[2]: Entering directory '/home/ryanpg/src/keykit/src'
gcc -static protoflp.c -o protoflp
./protoflp -p -dd_code.h < code.c > tmp.c
./protoflp -p -dd_code2.h < code2.c > tmp.c
./protoflp -p -dd_fsm.h < fsm.c > tmp.c
./protoflp -p -dd_grid.h < grid.c > tmp.c
./protoflp -p -dd_keyto.h < keyto.c > tmp.c
./protoflp -p -dd_main.h < main.c > tmp.c
./protoflp -p -dd_mdep1.h < mdep1.c > tmp.c
./protoflp -p -dd_menu.h < menu.c > tmp.c
./protoflp -p -dd_mfin.h < mfin.c > tmp.c
./protoflp -p -dd_midi.h < midi.c > tmp.c
./protoflp -p -dd_misc.h < misc.c > tmp.c
./protoflp -p -dd_phrase.h < phrase.c > tmp.c
./protoflp -p -dd_real.h < real.c > tmp.c
./protoflp -p -dd_sym.h < sym.c > tmp.c
./protoflp -p -dd_util.h < util.c > tmp.c
./protoflp -p -dd_view.h < view.c > tmp.c
./protoflp -p -dd_task.h < task.c > tmp.c
./protoflp -p -dd_fifo.h < fifo.c > tmp.c
./protoflp -p -dd_kwind.h < kwind.c > tmp.c
./protoflp -p -dd_regex.h < regex.c > tmp.c
./protoflp -p -dd_bltin.h < bltin.c > tmp.c
./protoflp -p -dd_meth.h < meth.c > tmp.c
./protoflp -p -dd_clock.h < clock.c > tmp.c
./protoflp -p -dd_mdep2.h < mdep2.c > tmp.c
gcc -c yacc.c
gcc -c main.c
gcc -c util.c
gcc -c misc.c
gcc -c phrase.c
gcc -c sym.c
gcc -c keyto.c
gcc -c code.c
gcc -c code2.c
gcc -c grid.c
gcc -c view.c
gcc -c menu.c
gcc -c task.c
gcc -c fifo.c
gcc -c mfin.c
gcc -c real.c
gcc -c mdep1.c
gcc -c mdep2.c
gcc -c kwind.c
gcc -c fsm.c
gcc -c bltin.c
gcc -c meth.c
gcc -c regex.c
gcc -c midi.c
gcc -c clock.c
gcc -static -O yacc.o main.o util.o misc.o phrase.o sym.o keyto.o code.o code2.o grid.o view.o menu.o task.o fifo.o mfin.o real.o mdep1.o mdep2.o kwind.o fsm.o bltin.o meth.o regex.o midi.o clock.o -lm -o lowkey
/usr/bin/ld: main.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here /usr/bin/ld: main.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here
/usr/bin/ld: util.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here /usr/bin/ld: util.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here
/usr/bin/ld: misc.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here /usr/bin/ld: misc.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here
/usr/bin/ld: phrase.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here /usr/bin/ld: phrase.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here
/usr/bin/ld: sym.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here /usr/bin/ld: sym.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here
/usr/bin/ld: sym.o:(.bss+0xc40): multiple definition of Debug'; misc.o:(.data+0x8): first defined here /usr/bin/ld: keyto.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: keyto.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: code.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: code.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: code2.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: code2.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: grid.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: grid.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: view.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: view.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: menu.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: menu.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: task.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: task.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: fifo.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: fifo.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: mfin.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: mfin.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: real.o:(.bss+0x20): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: real.o:(.bss+0x620): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: mdep1.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: mdep1.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: mdep2.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: mdep2.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: kwind.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: kwind.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: fsm.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: fsm.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: bltin.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: bltin.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: meth.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: meth.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: regex.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: regex.o:(.bss+0x600): multiple definition of Midioutputs'; yacc.o:(.bss+0x600): first defined here /usr/bin/ld: midi.o:(.bss+0x0): multiple definition of Midiinputs'; yacc.o:(.bss+0x0): first defined here
/usr/bin/ld: midi.o:(.bss+0x600): multiple definition of `Midioutputs'; yacc.o:(.bss+0x600): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [makefile:32: lowkey] Error 1
make[2]: Leaving directory '/home/ryanpg/src/keykit/src'
make[1]: *** [makefile:302: install_stdio] Error 2
make[1]: Leaving directory '/home/ryanpg/src/keykit'
make: *** [makefile:409: install_linux] Error 2

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