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

utox: xlib/main.c:199:35: error: 'TRUE' undeclared (first use in this function) #90

Closed
tot-to opened this issue Nov 13, 2015 · 4 comments

Comments

@tot-to
Copy link

tot-to commented Nov 13, 2015

layman -s tox-overlay; USE="filter_audio -dbus" emerge utox
fails with the error:
utox: xlib/main.c:199:35: error: 'TRUE' undeclared (first use in this function)

I've tried to reinstall all dependencies (freetype libfilteraudio libv4l libvpx openal libX11 libXext), but I does don change anything.

See build.log attached.

@lehitoskin
Copy link
Collaborator

Could you try compiling utox outside portage?

@tot-to
Copy link
Author

tot-to commented Nov 14, 2015

Ok, here is what I did and the result:
git clone git://github.com/GrayHatter/uTox.git
cd uTox
vim Makefile # change "DBUS = 1" to "DBUS = 0"
make all
CC tooltip.o
CC avatar.o
CC theme.o
CC friend.o
CC button.o
CC video.o
CC commands.o
CC scrollable.o
CC dropdown.o
CC ui.o
CC contextmenu.o
CC list.o
CC dns.o
CC groups.o
CC audio.o
CC edit.o
CC ui_dropdown.o
CC main.o
In file included from xlib/main.c:102:0,
from main.c:15:
xlib/freetype.c: In function 'font_getglyph':
xlib/freetype.c:189:5: warning: implicit declaration of function 'FT_Library_SetLcdFilter' [-Wimplicit-function-declaration]
FT_Library_SetLcdFilter( ftlib, lcd_filter);
^
In file included from main.c:15:0:
xlib/main.c: In function 'init_ptt':
xlib/main.c:199:35: error: 'TRUE' undeclared (first use in this function)
XSynchronize(ptt_display, TRUE);
^
xlib/main.c:199:35: note: each undeclared identifier is reported only once for each function it appears in
Makefile:112: recipe for target 'main.o' failed
make: *** [main.o] Error 1

@lehitoskin
Copy link
Collaborator

This is a problem with Utox, not the overlay. Go and make an issue there instead.

@zetok
Copy link
Owner

zetok commented Dec 11, 2015

Closing, since upstream issue was closed.

@zetok zetok closed this as completed Dec 11, 2015
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

3 participants