discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

old make file, test.application


From: Marko Riedel
Subject: old make file, test.application
Date: Mon, 21 Jul 2008 16:42:55 +0000 (GMT)

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, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html           |
+-------------------------------------------------------------+


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]