delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/03/20:20:13

X-Spam-Check-By: sourceware.org
Message-ID: <BAY104-F375B56A79F82A8F3A31DDEAD4E0@phx.gbl>
X-Sender: rbody99 AT hotmail DOT com
In-Reply-To: <439241F1.BFB1EAEE@dessent.net>
From: "Robert Body" <rbody99 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gzread, gzdopen, gzclose not found
Date: Sat, 03 Dec 2005 18:20:05 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I have been asking on the clanlib mailing list... waiting... asking other 
questions... looking on internet, mailing list archives... from the last 
email which you might not have seen prior to your reply, I found  this

Libs/libclanApp.so.$(D_VERSION_MINOR) $(OBJF_LIB_App) -L Libs -lz -lclanCore
        @ln -s -f libclanApp.so.$(D_VERSION_MINOR) 
Libs/libclanApp.so.$(D_VERSION_MAJOR)
        @ln -s -f libclanApp.so.$(D_VERSION_MAJOR) Libs/libclanApp.so

and now i just put the -lz there, but it's not the right spot
and I don't know what a right spot is, and why is "-lz" enough? i would 
think to put /usr/lib somewhere

-Robert


#
# Makefile data for clanApp library.
#

clanApp: Libs/libclanApp.so Libs/libclanApp.a

installApp: clanApp
        @for i in `find Sources/API/Application -type d | grep -v CVS | sed 
"s/Sources\/API\///;"`; do install -d $(INC_PREFIX)/ClanLib/$$i; done
        @for i in `find Sources/API/Application -type f | grep -v CVS | sed 
"s/Sources\/API\///;"`; do install -m 0644 Sources/API/$$i 
$(INC_PREFIX)/ClanLib/$$i; done
        @install -m 0644 Sources/API/application.h 
$(INC_PREFIX)/ClanLib/application.h
        @install -d $(LIB_PREFIX)
        @install Libs/libclanApp.so.$(D_VERSION_MINOR) $(LIB_PREFIX)
        @install Libs/libclanApp.a $(LIB_PREFIX)
        @ln -s -f libclanApp.so.$(D_VERSION_MINOR) 
$(LIB_PREFIX)/libclanApp.so.$(D_VERSION_MAJOR)
        @ln -s -f libclanApp.so.$(D_VERSION_MAJOR) 
$(LIB_PREFIX)/libclanApp.so


OBJF_LIB_App = Libs/Intermediate/clanapp.o

Libs/libclanApp.so: Libs/libclanCore.so $(OBJF_LIB_App)
        @echo "Building Libs/libclanApp.so"
        @$(LINK_COMMAND) -Wl,-soname=libclanApp.so.$(D_VERSION_MAJOR) -o 
Libs/libclanApp.so.$(D_VERSION_MINOR) $(OBJF_LIB_App) -L Libs -lclanCore
        @ln -s -f libclanApp.so.$(D_VERSION_MINOR) 
Libs/libclanApp.so.$(D_VERSION_MAJOR)
        @ln -s -f libclanApp.so.$(D_VERSION_MAJOR) Libs/libclanApp.so

Libs/libclanApp.a: $(OBJF_LIB_App)
        @echo "Building Libs/libclanApp.a"
        -@if [ -e Libs/libclanApp.a ]; then rm -f Libs/libclanApp.a; fi
        @ar qc Libs/libclanApp.a $(OBJF_LIB_App)



>From: Brian Dessent <brian AT dessent DOT net>
>Reply-To: cygwin AT cygwin DOT com
>To: cygwin AT cygwin DOT com
>Subject: Re: gzread, gzdopen, gzclose not found
>Date: Sat, 03 Dec 2005 17:10:09 -0800
>
>Robert Body wrote:
>
> > Building Libs/libclanApp.so
> > Libs/libclanCore.a(datafile_inputprovider.o): In function
> > `_ZNSt11_Deque_baseI18CL_Zipped_PositionSaIS0_EED2Ev':
> >
>
>There's still not enough information.  You need to find out what command
>this makefile is running that is causing the error.  And then modify it
>to have -lz in the correct location.
>
>On cygwin the output file should be cygclanApp.dll, not libclanApp.so,
>so that right there tells me that this makefile probably hardcodes such
>things, which means that it is probably not portable and was likely hand
>written by someone who has no concept of any other *nix than linux.  WHy
>can't people just use libtool?
>
>You should try asking these questions on the clanlib mailing list /
>forum / whatever.
>
>Brian
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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