Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #20

Open
Anderson0xFF opened this issue Nov 21, 2020 · 1 comment
Open

Compile error #20

Anderson0xFF opened this issue Nov 21, 2020 · 1 comment

Comments

@Anderson0xFF
Copy link

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

Expected Behavior

Reproduction Instructions

../configure --prefix=/usr --disable-sanitizers
make
or make -j8

Environment

Output of i3 --moreversion 2>&-:

i3 version: 

ERROR: rest.xmacro:3: first defined here
/usr/bin/ld: ./libi3.a(a-draw_util.o):/home/anderson/workspace/i3-gaps/build/../../i3-gaps/libi3/draw_util.c:19: multiple definition of `visual_type'; src/i3-main.o:/home/anderson/workspace/i3-gaps/build/../../i3-gaps/src/main.c:63: first defined here
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:1587: i3] Error 1
make[1]: Leaving directory '/home/anderson/workspace/i3-gaps/build'
make: *** [Makefile:1332: all] Error 2

Logfile URL:
- Linux Distribution & Version: ArchLinx
- Are you using a compositor (e.g., xcompmgr or compton):
@misss13
Copy link

misss13 commented Sep 17, 2021

Idk but I had similar error just wanna post solution so I can use this next time. Worked on fresh Gentoo install + compton

export CFLAGS=" -fcommon"
export CPPFLAGS="-U_FORTIFY_SOURCE" 

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

No branches or pull requests

2 participants