Created
May 16, 2016 10:59
-
-
Save msikma/cb28624117475e24d0e6e0594775ae73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -c -o src/main.o src/main.c -DHAVE_STDBOOL_H=1 -Ivendor/allegro-4.2.2-djgpp-xc/include | |
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -o dist/main.exe src/main.o -Lvendor/allegro-4.2.2-djgpp-xc/lib/djgpp -lalleg | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x30): multiple definition of `set_window_title' | |
src/main.o:main.c:(.text+0x1e): first defined here | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x50): multiple definition of `desktop_color_depth' | |
src/main.o:main.c:(.text+0x46): first defined here | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x70): multiple definition of `get_desktop_resolution' | |
src/main.o:main.c:(.text+0x6b): first defined here | |
[... about 18 thousand lines] | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(grip.o):grip.c:(.text+0x1720): multiple definition of `yield_timeslice' | |
src/main.o:main.c:(.text+0x1a53): first defined here | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(grip.o):grip.c:(.text+0x1740): multiple definition of `_set_color' | |
src/main.o:main.c:(.text+0x1a72): first defined here | |
/usr/local/djgpp/lib/gcc/i586-pc-msdosdjgpp/5.2.0/../../../../i586-pc-msdosdjgpp/bin/ld: src/main.o: bad reloc address 0x20 in section `.eh_frame' | |
collect2: error: ld returned 1 exit status | |
make: *** [dist/main.exe] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How did you resolve this issue?
was it adding -fgnu89-inline to gcc flags?