From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6176 invoked by alias); 18 Feb 2002 22:02:47 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 6004 invoked from network); 18 Feb 2002 22:02:32 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 18 Feb 2002 22:02:32 -0000 Received: from redhat.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA27052; Mon, 18 Feb 2002 14:02:26 -0800 (PST) Message-ID: <3C718B7C.2785EB0B@redhat.com> Date: Tue, 19 Feb 2002 15:19:00 -0000 From: Ian Roxborough X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Aurelian Melinte , sourcenav@sources.redhat.com Subject: Re: attempting to build parser on Windows References: <1.1.1.11.2.20020218163931.00a9d6d8@pop.gmx.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00075.txt.bz2 Hi Aurelian, There is no support for building Source-Navigator with gcc on Windows. There will be in the future, this would probably be the next "major" piece of work I do to SN (unless somebody is going to beat me to it). Ian. Aurelian Melinte wrote: > > hello, > > sorry to bother you with a problem about a product that has been stopped, > but I cannot find useful information on the list (I am not currently > subscribed but I checked the archives) > > who can answer a short answer about using the SDK on Windows? I cannot > manage to link with the libraries provided, obviously I am missing > something. As soon as I call an sdk function, say, sn_reset_column() a > bunch of Windows specific symbols are not resolved (see below). > > I am using > SN50-010322 Windows, > CYGWIN_NT-5.0 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown > gcc version 2.95.3-5 (cygwin special) > > Below are the Makefile and the output. > > Best regards, > A. > > # > > SNSDK = /cygdrive/c/Program\ > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk > > LIBS = -L$(SNSDK)/lib -lm -lfl -lsnptools -ldbutils -lpafdb -lutils -ltcl81 > CCOPTS= -I$(SNSDK)/include > > all: jbrowser > > jbrowser: pipe.o log.o > $(CC) $(CCOPTS) -o $@ $+ $(LIBS) > > .c.o: > $(CC) $(CCOPTS) -c -o $@ $< > > .PHONY: clean > clean: > rm *.o > > Here's what I get: > > gcc -I/cygdrive/c/Program\ > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/ > include -o jbrowser pipe.o log.o -L/cygdrive/c/Program\ > Files/SN50-010322-Window > s/H-i686-pc-cygwin/share/sdk/lib -lm -lfl -lsnptools -ldbutils -lpafdb > -ltcl81 - > lutils > /cygdrive/c/Program > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib > snptools.a(snptools.obj.b): In function `sn_getopt': > f:\work\SN50\01031:35: undefined reference to `_assert' > /cygdrive/c/Program > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib > snptools.a(snptools.obj.b): In function `sn_process_options': > f:\work\SN50\01031:106: undefined reference to `_assert' > /cygdrive/c/Program > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib > snptools.a(snptools.obj.b): In function `sn_error': > f:\work\SN50\01031:4: undefined reference to `_iob' > f:\work\SN50\01031:7: undefined reference to `_iob' > /cygdrive/c/Program > Files/SN50-010322-Windows/H-i686-pc-cygwin/share/sdk/lib/lib > snptools.a(snptools.obj.b): In function `sn_message': > f:\work\SN50\01031:384: undefined reference to `_iob' > f:\work\SN50\01031:387: undefined reference to `_iob'