afterstep / afterstep

Super configurable, extra lightweight, and fluidly fast Window Manager for X
http://www.afterstep.org
Other
52 stars 12 forks source link

Compilation woes #10

Open bixbyru opened 2 years ago

bixbyru commented 2 years ago

Hey there -

Well, clq -> cq would appear to be insufficient; the opperant part of the blowup is as follows. Ideas...?

gcc PrintDesktopEntries.o -rdynamic -rdynamic ../libAfterConf/libAfterConf.a ../libAfterStep/libAfterStep.a ../libAfterImage/libAfterImage.a ../libAfterBase/libAfterBase.a -lXinerama -lX11 -lSM -lICE -lXext -lX11 -lSM -lICE -lXext -ljpeg -lz -lm -o PrintDesktopEntries /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ../libAfterStep/libAfterStep.a(desktop_category.o): in functiondesktop_entry2function': desktop_category.c:(.text+0x1044): undefined reference to create_named_function' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ../libAfterStep/libAfterStep.a(freestor.o): in functionformat_ASBox': freestor.c:(.text+0x28f9): undefined reference to unsigned_int2buffer_end' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: freestor.c:(.text+0x297c): undefined reference tounsigned_int2buffer_end' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: freestor.c:(.text+0x2a0b): undefined reference to unsigned_int2buffer_end' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: freestor.c:(.text+0x2a94): undefined reference tounsigned_int2buffer_end' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ../libAfterStep/libAfterStep.a(functions.o): in function format_FunctionData': functions.c:(.text+0x1bf2): undefined reference tounsigned_int2buffer_end' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ../libAfterStep/libAfterStep.a(functions.o):functions.c:(.text+0x1c8a): more undefined references to unsigned_int2buffer_end' follow collect2: error: ld returned 1 exit status make[1]: *** [Makefile:397: PrintDesktopEntries] Error 1 make[1]: Leaving directory '/root/afterstep-devel-2.2.12/libAfterConf' make: *** [Makefile:177: all] Error 1

ilyoupi commented 1 year ago

Have the same issue, any news or solution ?

thommo7 commented 1 year ago

I got the same errors when trying to build the current AUR package on my Arch machine. So I did a git clone of the latest from https://github.com/afterstep/ I still had to do the "clq > cq" mod mentioned above, to resolve the "libdeps specified more than once" issue with newer binutils. But then it built, installed and ran successfully. Hopefully this helps?