This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: a2ps compile problem against 1.5.2
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 21 Aug 2003 23:10:20 -0400
- Subject: Re: a2ps compile problem against 1.5.2
- References: <OF8EFF988D.37718E94-ON88256D86.00551D67@capgroup.com>
- Reply-to: cygwin-apps at cygwin dot com
On Mon, Aug 18, 2003 at 08:32:05AM -0700, David_Hudson@capgroup.com wrote:
>Hi,
>
>I had no problems compiling a2ps against 1.5.1 but against 1.5.2 I get this
>error.
>
>/bin/sh ../libtool --mode=link gcc -O2 -g -o a2ps.exe main.o read.o
>sshread.o ssheet.o select.o generate.o delegate.o regex.o buffer.o
>versions.o ffaces.o parsessh.o lexssh.o lexps.o ../lib/liba2ps.la -lfl
>-lm -lintl
>gcc -O2 -g -o a2ps.exe main.o read.o sshread.o ssheet.o select.o generate.o
>delegate.o regex.o buffer.o versions.o ffaces.o parsessh.o lexssh.o
>lexps.o ../lib/.libs/liba2ps.a -lintl -lfl -lm -lintl
>/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
>final link failed: File truncated
>collect2: ld returned 1 exit status
>make[2]: *** [a2ps.exe] Error 1
>
>Any ideas on what I should do?
Are these problems now rectified in the latest snapshot?
I know that removing -lm from the link line "solves" the problem but I
want to make sure that -lm is now working correctly. It does for me, when
linking a2ps, but I want to make sure...
cgf