[AWS] ld: cannot find -lz error when compiling AWS.

Pascal Obry pascal at obry.net
Thu Apr 28 19:36:45 CEST 2005


Vincent,

 > I took the (bad :-) habit to simply 
 > compile AWS as part of my code using the project file sent before
 > (i.e not have it as a separate
 > "installed" library, that is precompiled).
 > This worked easily in previous AWS version, and I just renamed
 > the few .adb that I needed.

That's indeed not a clean procedure :)


 > Would there be a simple project command 
 > (like a package Linker option) to allow me to specify where
 > the zlib library is 
 > so that I can keep avoiding going through the make process ?

No. You should at least do a "make build" on the root directory. This should
build the win32/libz.a library. Then you can add it as -largs parameters... 
That's far from being a clean procedure though... You should aim to a clean
build:

edit makefile.conf then:

   $ make build
   $ make install

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595




More information about the AWS mailing list