Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: "RUMBLE,PHIL (A-Scotland,ex1)" To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: RE: Problems compiling Compress::Zlib under Perl. Date: Wed, 25 Apr 2001 11:24:10 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" People, Here is the vebose output. Thanks Rumble $ make Running Dynamic Lib Section rm -f blib/arch/auto/Compress/Zlib/Zlib.dll LD_RUN_PATH="/usr/local/lib" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll -s -L/usr/local/lib Zlib.o --driver-flags -Wl,--verbose /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a -L/lib -lz dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \ -s -L/usr/local/lib Zlib.o --driver-flags -Wl,--verbose /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a -L/lib -lz dllwrap: no export definition file provided dllwrap: creating one, but that may not be what you want GNU ld version 2.10.91 (with BFD 2.10.91) Supported emulations: i386pe using internal linker script: ================================================== OUTPUT_FORMAT(pei-i386) SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/i686-pc-cygwin/lib); ENTRY(_mainCRTStartup) SECTIONS { .text __image_base__ + __section_alignment__ : { *(.init) *(.text) *(SORT(.text$*)) *(.glue_7t) *(.glue_7) ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; LONG (-1); *(.ctors); *(.ctor); LONG (0); ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; LONG (-1); *(.dtors); *(.dtor); LONG (0); *(.fini) /* ??? Why is .gcc_exc here? */ *(.gcc_exc) etext = .; *(.gcc_except_table) } /* The Cygwin32 library uses a section to avoid copying certain data on fork. This used to be named ".data". The linker used to include this between __data_start__ and __data_end__, but that breaks building the cygwin32 dll. Instead, we name the section ".data_cygwin_nocopy" and explictly include it after __data_end__. */ .data BLOCK(__section_alignment__) : { __data_start__ = . ; *(.data) *(.data2) *(SORT(.data$*)) __data_end__ = . ; *(.data_cygwin_nocopy) } .rdata BLOCK(__section_alignment__) : { *(.rdata) *(SORT(.rdata$*)) *(.eh_frame) } .pdata BLOCK(__section_alignment__) : { *(.pdata) } .bss BLOCK(__section_alignment__) : { __bss_start__ = . ; *(.bss) *(COMMON) __bss_end__ = . ; } .edata BLOCK(__section_alignment__) : { *(.edata) } /DISCARD/ : { *(.debug$S) *(.debug$T) *(.debug$F) *(.drectve) } .idata BLOCK(__section_alignment__) : { /* This cannot currently be handled with grouped sections. See pe.em:sort_sections. */ SORT(*)(.idata$2) SORT(*)(.idata$3) /* These zeroes mark the end of the import list. */ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0); SORT(*)(.idata$4) SORT(*)(.idata$5) SORT(*)(.idata$6) SORT(*)(.idata$7) } .CRT BLOCK(__section_alignment__) : { *(SORT(.CRT$*)) } .endjunk BLOCK(__section_alignment__) : { /* end is deprecated, don't use it */ end = .; _end = .; __end__ = .; } .rsrc BLOCK(__section_alignment__) : { *(.rsrc) *(SORT(.rsrc$*)) } .reloc BLOCK(__section_alignment__) : { *(.reloc) } .stab BLOCK(__section_alignment__) (NOLOAD) : { [ .stab ] } .stabstr BLOCK(__section_alignment__) (NOLOAD) : { [ .stabstr ] } } ================================================== attempt to open /usr/lib/crt0.o succeeded /usr/lib/crt0.o attempt to open Zlib.o succeeded Zlib.o attempt to open /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a succeeded (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00322.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00320.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00156.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00207.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00049.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00176.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00046.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00039.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00344.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00343.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00321.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00341.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00342.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00855.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00863.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00604.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00859.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00853.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01345.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00585.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01336.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01488.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01429.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00787.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01378.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01431.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01381.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01437.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01353.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01374.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01425.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00850.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01413.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01347.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00795.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01391.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00535.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01361.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00869.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00782.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01355.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01415.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01411.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds01344.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)ds00618.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)dh.o (/usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a)dt.o attempt to open /usr/local/lib/libz.dll.a succeeded (/usr/local/lib/libz.dll.a)d000032.o (/usr/local/lib/libz.dll.a)d000036.o (/usr/local/lib/libz.dll.a)d000031.o (/usr/local/lib/libz.dll.a)d000007.o (/usr/local/lib/libz.dll.a)d000005.o (/usr/local/lib/libz.dll.a)d000033.o (/usr/local/lib/libz.dll.a)d000012.o (/usr/local/lib/libz.dll.a)d000008.o (/usr/local/lib/libz.dll.a)d000004.o (/usr/local/lib/libz.dll.a)d000001.o (/usr/local/lib/libz.dll.a)d000014.o (/usr/local/lib/libz.dll.a)d000018.o (/usr/local/lib/libz.dll.a)d000030.o (/usr/local/lib/libz.dll.a)d000015.o (/usr/local/lib/libz.dll.a)d000021.o (/usr/local/lib/libz.dll.a)d000057.o (/usr/local/lib/libz.dll.a)d000025.o (/usr/local/lib/libz.dll.a)d000017.o (/usr/local/lib/libz.dll.a)d000000.o (/usr/local/lib/libz.dll.a)d000058.o attempt to open /usr/local/lib/libgcc.dll.a failed attempt to open /usr/local/lib/gcc.dll.a failed attempt to open /usr/local/lib/libgcc.a failed attempt to open /usr/local/lib/cyggcc.dll failed attempt to open /usr/local/lib/libgcc.dll failed attempt to open /usr/local/lib/gcc.dll failed attempt to open /usr/local/lib/libgcc.a failed attempt to open /lib/libgcc.dll.a failed attempt to open /lib/gcc.dll.a failed attempt to open /lib/libgcc.a failed attempt to open /lib/cyggcc.dll failed attempt to open /lib/libgcc.dll failed attempt to open /lib/gcc.dll failed attempt to open /lib/libgcc.a failed attempt to open -L/usr/lib/libgcc.dll.a failed attempt to open -L/usr/lib/gcc.dll.a failed attempt to open -L/usr/lib/libgcc.a failed attempt to open -L/usr/lib/cyggcc.dll failed attempt to open -L/usr/lib/libgcc.dll failed attempt to open -L/usr/lib/gcc.dll failed attempt to open -L/usr/lib/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll.a failed attempt to open /usr/lib/w32api/gcc.dll.a failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/w32api/cyggcc.dll failed attempt to open /usr/lib/w32api/libgcc.dll failed attempt to open /usr/lib/w32api/gcc.dll failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/libgcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/gcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/libgcc.a succeeded attempt to open /usr/local/lib/libcygwin.dll.a failed attempt to open /usr/local/lib/cygwin.dll.a failed attempt to open /usr/local/lib/libcygwin.a succeeded (/usr/local/lib/libcygwin.a)dll_entry.o (/usr/local/lib/libcygwin.a)libcmain.o (/usr/local/lib/libcygwin.a)cygwin_crt0.o (/usr/local/lib/libcygwin.a)ds00851.o (/usr/local/lib/libcygwin.a)ds00840.o (/usr/local/lib/libcygwin.a)ds01098.o (/usr/local/lib/libcygwin.a)ds00005.o (/usr/local/lib/libcygwin.a)dll_main.o (/usr/local/lib/libcygwin.a)ds00610.o (/usr/local/lib/libcygwin.a)cygwin_attach_dll.o (/usr/local/lib/libcygwin.a)ds00023.o (/usr/local/lib/libcygwin.a)_cygwin_crt0_common.o (/usr/local/lib/libcygwin.a)ds00630.o (/usr/local/lib/libcygwin.a)dh.o (/usr/local/lib/libcygwin.a)ds00631.o (/usr/local/lib/libcygwin.a)ds00559.o (/usr/local/lib/libcygwin.a)ds00968.o (/usr/local/lib/libcygwin.a)ds00697.o (/usr/local/lib/libcygwin.a)ds00842.o (/usr/local/lib/libcygwin.a)premain3.o (/usr/local/lib/libcygwin.a)premain2.o (/usr/local/lib/libcygwin.a)premain1.o (/usr/local/lib/libcygwin.a)premain0.o (/usr/local/lib/libcygwin.a)ds00613.o (/usr/local/lib/libcygwin.a)dt.o attempt to open /usr/local/lib/libuser32.dll.a failed attempt to open /usr/local/lib/user32.dll.a failed attempt to open /usr/local/lib/libuser32.a failed attempt to open /usr/local/lib/cyguser32.dll failed attempt to open /usr/local/lib/libuser32.dll failed attempt to open /usr/local/lib/user32.dll failed attempt to open /usr/local/lib/libuser32.a failed attempt to open /lib/libuser32.dll.a failed attempt to open /lib/user32.dll.a failed attempt to open /lib/libuser32.a failed attempt to open /lib/cyguser32.dll failed attempt to open /lib/libuser32.dll failed attempt to open /lib/user32.dll failed attempt to open /lib/libuser32.a failed attempt to open -L/usr/lib/libuser32.dll.a failed attempt to open -L/usr/lib/user32.dll.a failed attempt to open -L/usr/lib/libuser32.a failed attempt to open -L/usr/lib/cyguser32.dll failed attempt to open -L/usr/lib/libuser32.dll failed attempt to open -L/usr/lib/user32.dll failed attempt to open -L/usr/lib/libuser32.a failed attempt to open /usr/lib/w32api/libuser32.dll.a failed attempt to open /usr/lib/w32api/user32.dll.a failed attempt to open /usr/lib/w32api/libuser32.a succeeded attempt to open /usr/local/lib/libkernel32.dll.a failed attempt to open /usr/local/lib/kernel32.dll.a failed attempt to open /usr/local/lib/libkernel32.a failed attempt to open /usr/local/lib/cygkernel32.dll failed attempt to open /usr/local/lib/libkernel32.dll failed attempt to open /usr/local/lib/kernel32.dll failed attempt to open /usr/local/lib/libkernel32.a failed attempt to open /lib/libkernel32.dll.a failed attempt to open /lib/kernel32.dll.a failed attempt to open /lib/libkernel32.a failed attempt to open /lib/cygkernel32.dll failed attempt to open /lib/libkernel32.dll failed attempt to open /lib/kernel32.dll failed attempt to open /lib/libkernel32.a failed attempt to open -L/usr/lib/libkernel32.dll.a failed attempt to open -L/usr/lib/kernel32.dll.a failed attempt to open -L/usr/lib/libkernel32.a failed attempt to open -L/usr/lib/cygkernel32.dll failed attempt to open -L/usr/lib/libkernel32.dll failed attempt to open -L/usr/lib/kernel32.dll failed attempt to open -L/usr/lib/libkernel32.a failed attempt to open /usr/lib/w32api/libkernel32.dll.a failed attempt to open /usr/lib/w32api/kernel32.dll.a failed attempt to open /usr/lib/w32api/libkernel32.a succeeded (/usr/lib/w32api/libkernel32.a)ds00290.o (/usr/lib/w32api/libkernel32.a)ds00200.o (/usr/lib/w32api/libkernel32.a)ds00333.o (/usr/lib/w32api/libkernel32.a)dh.o (/usr/lib/w32api/libkernel32.a)dt.o attempt to open /usr/local/lib/libadvapi32.dll.a failed attempt to open /usr/local/lib/advapi32.dll.a failed attempt to open /usr/local/lib/libadvapi32.a failed attempt to open /usr/local/lib/cygadvapi32.dll failed attempt to open /usr/local/lib/libadvapi32.dll failed attempt to open /usr/local/lib/advapi32.dll failed attempt to open /usr/local/lib/libadvapi32.a failed attempt to open /lib/libadvapi32.dll.a failed attempt to open /lib/advapi32.dll.a failed attempt to open /lib/libadvapi32.a failed attempt to open /lib/cygadvapi32.dll failed attempt to open /lib/libadvapi32.dll failed attempt to open /lib/advapi32.dll failed attempt to open /lib/libadvapi32.a failed attempt to open -L/usr/lib/libadvapi32.dll.a failed attempt to open -L/usr/lib/advapi32.dll.a failed attempt to open -L/usr/lib/libadvapi32.a failed attempt to open -L/usr/lib/cygadvapi32.dll failed attempt to open -L/usr/lib/libadvapi32.dll failed attempt to open -L/usr/lib/advapi32.dll failed attempt to open -L/usr/lib/libadvapi32.a failed attempt to open /usr/lib/w32api/libadvapi32.dll.a failed attempt to open /usr/lib/w32api/advapi32.dll.a failed attempt to open /usr/lib/w32api/libadvapi32.a succeeded attempt to open /usr/local/lib/libshell32.dll.a failed attempt to open /usr/local/lib/shell32.dll.a failed attempt to open /usr/local/lib/libshell32.a failed attempt to open /usr/local/lib/cygshell32.dll failed attempt to open /usr/local/lib/libshell32.dll failed attempt to open /usr/local/lib/shell32.dll failed attempt to open /usr/local/lib/libshell32.a failed attempt to open /lib/libshell32.dll.a failed attempt to open /lib/shell32.dll.a failed attempt to open /lib/libshell32.a failed attempt to open /lib/cygshell32.dll failed attempt to open /lib/libshell32.dll failed attempt to open /lib/shell32.dll failed attempt to open /lib/libshell32.a failed attempt to open -L/usr/lib/libshell32.dll.a failed attempt to open -L/usr/lib/shell32.dll.a failed attempt to open -L/usr/lib/libshell32.a failed attempt to open -L/usr/lib/cygshell32.dll failed attempt to open -L/usr/lib/libshell32.dll failed attempt to open -L/usr/lib/shell32.dll failed attempt to open -L/usr/lib/libshell32.a failed attempt to open /usr/lib/w32api/libshell32.dll.a failed attempt to open /usr/lib/w32api/shell32.dll.a failed attempt to open /usr/lib/w32api/libshell32.a succeeded attempt to open /usr/local/lib/libgcc.dll.a failed attempt to open /usr/local/lib/gcc.dll.a failed attempt to open /usr/local/lib/libgcc.a failed attempt to open /usr/local/lib/cyggcc.dll failed attempt to open /usr/local/lib/libgcc.dll failed attempt to open /usr/local/lib/gcc.dll failed attempt to open /usr/local/lib/libgcc.a failed attempt to open /lib/libgcc.dll.a failed attempt to open /lib/gcc.dll.a failed attempt to open /lib/libgcc.a failed attempt to open /lib/cyggcc.dll failed attempt to open /lib/libgcc.dll failed attempt to open /lib/gcc.dll failed attempt to open /lib/libgcc.a failed attempt to open -L/usr/lib/libgcc.dll.a failed attempt to open -L/usr/lib/gcc.dll.a failed attempt to open -L/usr/lib/libgcc.a failed attempt to open -L/usr/lib/cyggcc.dll failed attempt to open -L/usr/lib/libgcc.dll failed attempt to open -L/usr/lib/gcc.dll failed attempt to open -L/usr/lib/libgcc.a failed attempt to open /usr/lib/w32api/libgcc.dll.a failed attempt to open /usr/lib/w32api/gcc.dll.a failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/w32api/cyggcc.dll failed attempt to open /usr/lib/w32api/libgcc.dll failed attempt to open /usr/lib/w32api/gcc.dll failed attempt to open /usr/lib/w32api/libgcc.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/libgcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/gcc.dll.a failed attempt to open /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/libgcc.a succeeded (/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/libgcc.a)_ctors.o /usr/local/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference to `WinMain AT 16' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 perlld: *** system() failed to execute dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \ -s -L/usr/local/lib Zlib.o --driver-flags -Wl,--verbose /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a -L/lib -lz make: *** [blib/arch/auto/Compress/Zlib/Zlib.dll] Error 1 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple