Hello.
Once again in my life, I am installing gnustep, but every time after a lot of 
time, so I have to learn from scratch the procedure.
This time on my own LinuxMint 22, and I am in trouble configuring base.

I downloaded gnustep-make-2.9.3.tar.gz, unpacked and configured to use
clang compiler (14) and --layout=gnustep.
Than I got libobjc2 from github repo, compiled and installed under
/usr/local. Finally I added /usr/local/lib in a file under /etc/ld.so.conf.d/, 
and launched ldconfig.

At the base step the configure failed "checking whether objc really
works... no". So I tried to write a very simple program in objc
(containing a class definition, though), and it fails to link with
error: "/usr/bin/ld: /tmp/testobjc-ba4d71.o:(.data.rel.ro+0x0):
undefined reference to `__objc_class_name_Object'".

Any idea of what can I miss?
I compiled the program with "clang -o testobjc testobjc.m
-L/usr/local/lib -mobjc", so I am quite sure I am pointing the right
library.

--
Mick



Reply via email to