gzread, gzdopen, gzclose not found

Robert Body rbody99@hotmail.com
Sun Dec 4 01:20:00 GMT 2005


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@dessent.net>
>Reply-To: cygwin@cygwin.com
>To: cygwin@cygwin.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/



More information about the Cygwin mailing list