-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error: ld: error: duplicate symbol: debug >>> defined at rr.c >>> rr.o:(debug) >>> defined at main.c >>> main.o:(.bss+0x0) happen when trying to build with android-ndk r22 or r23. More info: https://go-review.googlesource.com/c/go/+/280312
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./common/includes/debug.h.orig 2021-08-19 17:33:25.204243470 +0200 | ||
+++ ./common/includes/debug.h 2021-08-19 17:33:31.160911682 +0200 | ||
@@ -24,7 +24,7 @@ | ||
#include <stdio.h> | ||
#include <time.h> | ||
|
||
-int debug; | ||
+int debug __attribute__((common)); | ||
|
||
#ifndef _WIN32 | ||
#define DPRINTF(level, fmt, args...) \ |