gnu.gnustep.discuss
  Home FAQ Contact Sign in
gnu.gnustep.discuss only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
gnu.gnustep.discuss Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Howto write GNUmakefile.preamble with using C API         


Author: Jaroslav Joska
Date: Jul 21, 2008 23:31

Hi again!
I repair GNUmakefile.preamble with your advice, but it
doesn't work.
Still Segmentation fault: 11
Regards
> Well, you could be lazy and let ProjectCenter write the makefiles for you. A
> closer look at what it produces reveals the following two items:
>
> # Additional flags to pass to the linker
> ADDITIONAL_LDFLAGS...
Show full article (4.67Kb)
no comments
  Re: Howto write GNUmakefile.preamble with using C API         


Author: Marko Riedel
Date: Jul 21, 2008 12:31

Well, you could be lazy and let ProjectCenter write the makefiles for you. A closer look at what it produces reveals the following two items:

# Additional flags to pass to the linker
ADDITIONAL_LDFLAGS += -lmysqlclient

# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS += -L/usr/lib

Best regards,

Marko

+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html |
+-------------------------------------------------------------+

--- Jaroslav Joska schrieb am Mo, 21.7.2008:
> Von: Jaroslav Joska
> Betreff: Howto write GNUmakefile.preamble with using C API
> An: "GNUstep" gnu.org>
> Datum: Montag, 21. Juli 2008, 21:10
> Hi all!
>...
Show full article (3.96Kb)
no comments
  Howto write GNUmakefile.preamble with using C API         


Author: Jaroslav Joska
Date: Jul 21, 2008 12:10

Hi all!

When I waited for reply to my question about installing SQLClient,
I tried C program API to connect with MySQL. Tjis is C file test.c:

*#include*
*#include*

*main*() {
MYSQL *conn;
MYSQL_RES *res;
MYSQL_ROW row;

char *server = "localhost";
char *user = "root";
char *password = "PASSWORD"; //* set me first *//
char *database = "mysql";

conn = *mysql_init*(NULL);
Show full article (2.56Kb)
no comments
  RE: old make file, test.application         


Author: Nicola Pero
Date: Jul 21, 2008 10:03

> I fixed the bug in trunk, please try again from subversion.

I thought I had, but the commit to subversion failed with "ssh_exchange_identification:
Connection closed by remote host". It seems that svn.gna.org is having problems ?

Anyway I'll commit as soon as I can :-)

Thanks
no comments
  RE: old make file, test.application         


Author: Nicola Pero
Date: Jul 21, 2008 10:00

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

Marko,

that is really cool - you found a bug in gnustep-make. :-)

I fixed the bug in trunk, please try again from subversion. If you can't update
your gnustep-make, please add

NEEDS_GUI = yes

to your GNUmakefile (somewhere before including test-application.make).

Let me know if that works any better. :-)

Thanks
no comments
  old make file, test.application         


Author: Marko Riedel
Date: Jul 21, 2008 09:42

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:
Show full article (1.96Kb)
no comments
  GNUstep cookbook: calendar view recipe         


Author: Marko Riedel
Date: Jul 21, 2008 09:31

Hi folks,

I decided to turn the source code for the calendar view that I presented to the list some weeks ago into a recipe for my cookbook. So, if any of you are interested in getting an explanation of how it actually works, check out the cookbook here:

http://www.gnustep.it/marko

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
no comments