delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/02/11:45:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [12.254.208.112]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>, "Randall R Schulz" <rrschulz AT cris DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304021109570 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Make shows invalid contents
Date: Wed, 2 Apr 2003 09:44:18 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OE44sokLQ8aZRhQdOgl000083c4@hotmail.com>
X-OriginalArrivalTime: 02 Apr 2003 16:45:10.0397 (UTC) FILETIME=[398EC2D0:01C2F937]

------=_NextPart_000_0013_01C2F8FC.6E2FF940
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello-
(makefile attached)
all attempts to run make against valid attached makefile result in
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
(garbage line) being thrown in

$ make
gcc -g -W -Wall -I/cygdrive/g/mysql/mysql-debug-4.0.12-pc-linux-i686/include
 -D_
THREAD_SAFE -D_REENTRANT -static
test_libmysqld.c  -L/cygdrive/g/mysql/mysql-de
bug-4.0.12-pc-linux-i686/lib -llibmysqlclient.a -lz -lm -lcrypt -lpthread -o
tes
t_libmysqld
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot fi
nd -llibmysqlclient.a
collect2: ld returned 1 exit status
make: *** [test_libmysqld] Error 1

where is the specification for the garbage line:
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
??

(I already checked .profile and its not there)
Thank You,
Martin
----- Original Message -----
From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
To: "Randall R Schulz" <rrschulz AT cris DOT com>
Cc: <cygwin AT cygwin DOT com>
Sent: Wednesday, April 02, 2003 9:12 AM
Subject: Re: vim quits and cygwin window contents not restored


> On Wed, 2 Apr 2003, Randall R Schulz wrote:
>
> > Charles,
> >
> > I must be missing something.
> >
> > At 00:29 2003-04-02, you wrote:
> > >Charles Wilson wrote:
> > >>Sorry, I haven't been following this thread.  See below.
> > >
> > >>I'll try to figure out which parts are missing, and reinstate them --
> > >>look for a new release (of terminfo-) sometime in the next week.
> > >
> > >Try the following.  First, save /usr/share/terminfo/c/cygwin somewhere
> > >handy.  Then, download and save the attached file cygwin.terminfo, and
run
> > >  'tic cygwin.terminfo'
> > >which will compile it and install it into your terminfo database.
> >
> > Since there were no attachments, I placed the text embedded in the
> > message into a file named "cygwin.terminfo" and used "tic" as you
> > prescribed. I get a diagnostic "Name collision between cygwin cygwin".
> > I tried removing the existing terminfo entry, but the result is
unchanged.
> >
> >
> > >You can also hand edit /etc/termcap (back it up, first) and paste the
> > >attached cygwin.termcap file into it, deleting the current definition.
> >
> > Then I saw this, so I figured that there are two text attachments that
> > got merged into a blob of in-line text, so I took the last 20 lines
> > beginning with "cygwin|ansi emulation for Cygwin:\" and gave them to
> > tic, and it seems to work (tic likes it and the results reinstate
> > screen context save and restore).
> >
> > Could you clarify what's up here? Am I the only one who didn't see
attachments?
> >
> >
> > >Anyway, give that a shot.  You'll note there are a lot of question
> > >marks in the comments in the cygwin.terminfo file.  If anyone's
> > >feeling really ambitious and likes digging thru terminfo
> > >documentation, the fhandler_console.cc source code in cygwin, and
> > >playing with /usr/bin/tack.exe...
> > >
> > >--Chuck
> >
> > Randall Schulz
>
> Randall,
>
> Since I knew a bit about termcap/terminfo formats, I figured there were
> two files: tic input and a termcap entry.  The web archive inlined both
> text attachments.  However, when I accessed the message from pine, it saw
> both attachments separately.  I'd guess that your mailer also saw the
> attachments as inline...
> Igor
> --
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Knowledge is an unending adventure at the edge of uncertainty.
>   -- Leto II
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

------=_NextPart_000_0013_01C2F8FC.6E2FF940
Content-Type: application/octet-stream;
	name="makefile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="makefile"

# This assumes the MySQL software is installed in /usr/local/mysql
inc      :=3D /cygdrive/g/mysql/mysql-debug-4.0.12-pc-linux-i686/include
lib      :=3D /cygdrive/g/mysql/mysql-debug-4.0.12-pc-linux-i686/lib

# If you have not installed the MySQL software yet, try this instead
#inc      :=3D =
/cygdrive/g/mysql/mysql-debug-4.0.12-pc-linux-i686/include:$(HOME)/mysql-=
4.0/include
#lib      :=3D $(HOME)/mysql-4.0/libmysqld

CC       :=3D gcc
CPPFLAGS :=3D -I$(inc) -D_THREAD_SAFE -D_REENTRANT
CFLAGS   :=3D -g -W -Wall
LDFLAGS  :=3D -static
# You can change -lmysqld to -lmysqlclient to use the
# client/server library
#LDLIBS    =3D -L$(lib) -lmysqld -lz -lm -lcrypt
LDLIBS    =3D -L$(lib) -llibmysqlclient.a -lz -lm -lcrypt

ifneq (,$(shell grep FreeBSD /COPYRIGHT 2>/dev/null))
# FreeBSD
LDFLAGS +=3D -pthread
else
# Assume Linux
LDLIBS +=3D -lpthread
endif

# This works for simple one-file test programs
sources :=3D $(wildcard *.c)
objects :=3D $(patsubst %c,%o,$(sources))
targets :=3D $(basename $(sources))

all: $(targets)

clean:
	rm -f $(targets) $(objects) *.core


------=_NextPart_000_0013_01C2F8FC.6E2FF940
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------=_NextPart_000_0013_01C2F8FC.6E2FF940--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019