Skip to content

Conversation

@BillKek
Copy link

@BillKek BillKek commented Jan 18, 2021

without it command :
gcc dream.c -o dream libapp.a -lSDL -Wall -O2

get error :
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mi
ngw32/bin/ld.exe: libapp.a(o_console.o):o_console.c:(.bss+0x0): multiple definit
ion of `r'; libapp.a(o_edit.o):o_edit.c:(.bss+0x0): first defined here
collect2.exe: error: ld returned 1 exit status

without it command :
gcc dream.c -o dream libapp.a -lSDL -Wall -O2

get error :
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mi
ngw32/bin/ld.exe: libapp.a(o_console.o):o_console.c:(.bss+0x0): multiple definit
ion of `r'; libapp.a(o_edit.o):o_edit.c:(.bss+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant