delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/03/19:58:24

X-Spam-Check-By: sourceware.org
Message-ID: <BAY104-F2EBC29D41C88FB8047ADDAD4E0@phx.gbl>
X-Sender: rbody99 AT hotmail DOT com
In-Reply-To: <43923ABE.108767EB@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 17:58:15 -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

This must be the specific Makefile (took me til now to figure it out :-) )
but i still don't know where the problem is... maybe include /usr/lib 
somewhere somehow?

#
# 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 16:39:26 -0800
>
>Robert Body wrote:
>
> > Hi, I am trying to compile ClanLib, and I have zLib installed, I thought
> > that's where these 3 gz function are from... but my Make does not find 
>them
>
>You didn't include enough information, such as the actual command used
>to link.
>
>As a guess I'd say you're missing -lz or you have -lz in the wrong
>position in the order.
>
>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