Hello again,

I wonder if anyone can help me with an old makefile, I'm not too sure what is 
going on here.

This is the file:

##################################################################
include $(GNUSTEP_MAKEFILES)/common.make

TEST_APP_NAME=Grab
Grab_OBJC_FILES = grab.m

SHARED_CFLAGS     += -g

ADDITIONAL_LIB_DIRS += -L/usr/X11R6/lib/
Grab_GUI_LIBS = -lX11

include $(GNUSTEP_MAKEFILES)/test-application.make
##################################################################

I get error messages like these:

##################################################################
./obj/grab.o:(.data.rel+0x38): undefined reference to 
`__objc_class_name_NSApplication'
./obj/grab.o:(.data.rel+0x40): undefined reference to 
`__objc_class_name_NSWindow'
./obj/grab.o:(.data.rel+0x48): undefined reference to 
`__objc_class_name_NSBrowser'
./obj/grab.o:(.data.rel+0x50): undefined reference to 
`__objc_class_name_NSScrollView'
./obj/grab.o:(.data.rel+0x60): undefined reference to 
`__objc_class_name_NSSavePanel'
##################################################################

The problems go away when I use "application" instead of "test.application":

##################################################################
include $(GNUSTEP_MAKEFILES)/common.make

APP_NAME=Grab
Grab_OBJC_FILES = grab.m

SHARED_CFLAGS     += -g

ADDITIONAL_LIB_DIRS += -L/usr/X11R6/lib/
Grab_GUI_LIBS = -lX11

include $(GNUSTEP_MAKEFILES)/application.make
##################################################################

Best regards,

Marko

+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, [EMAIL PROTECTED] |
| http://www.geocities.com/markoriedelde/index.html           |
+-------------------------------------------------------------+


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to