ghaerr / microwindows

The Nano-X Window System
Other
648 stars 91 forks source link

stub comment XSetLocaleModifiers and XGetGCValues #76

Closed gnodvi closed 1 year ago

gnodvi commented 1 year ago

NX11: stub comment XSetLocaleModifiers and XGetGCValues.

ghaerr commented 1 year ago

Hello @gnodvi,

Why are you commenting out the stub routines? Are those routines pulling in stubs.o which you don't want, or is it the debug DPRINTF output?

Thank you!

gnodvi commented 1 year ago

Hello Greg.   I got an error while compiling for  config.linux-X11 in Debian. These functions are already implemented:   XXSetLocaleModifiers in file src/nx11/Locale.c GetGCValues in file src/nx11/LGetGCVals.c  

Воскресенье, 19 марта 2023, 19:24 +03:00 от Gregory Haerr @.***>:     Hello @gnodvi , Why are you commenting out the stub routines? Are those routines pulling in stubs.o which you don't want, or is it the debug DPRINTF output? Thank you! — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you were mentioned. Message ID: <ghaerr/microwindows/pull/76/c1475310972 @ github . com>        


Compiling nx11/Xinerama.c ... Creating library libNX11.a ... ar: creating /home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/lib/libNX11.a Creating shared library libNX11.so ... /home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/obj/nx11/Locale.o: In function XSetLocaleModifiers': Locale.c:(.text+0x0): multiple definition ofXSetLocaleModifiers' /home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/obj/nx11/stub.o:stub.c:(.text+0x5e0): first defined here /home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/obj/nx11/GetGCVals.o: In function XGetGCValues': GetGCVals.c:(.text+0x0): multiple definition ofXGetGCValues' /home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/obj/nx11/stub.o:stub.c:(.text+0x440): first defined here collect2: error: ld returned 1 exit status make[1]: [/home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/lib/libNX11.so] Error 1 make: [subdir-/home/gnodvi/MSOFT/GUI/NANO-X/microwindows/src/nx11] Error 2


ghaerr commented 1 year ago

Thank you!