This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gzread, gzdopen, gzclose not found
- From: "Robert Body" <rbody99 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 03 Dec 2005 17:58:15 -0700
- Subject: Re: gzread, gzdopen, gzclose not found
- Bcc:
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@dessent.net>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.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/