This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13


A bit more info.

first depends.exe results (see png pictures).

the sudoku.exe test program that depends on libpng and libjpeg
as well does run. In the depends output of fluid.exe,
jpeg entry points appear in red for cygwin1.dll. Also cygwin1.dll
is listed a second time with the getreent entry.

The output of gcc -v for the link is in link_fluid.txt
and link_sudoku.txt. -lm and -lc are not linked to.
cygcheck and ldd output are below.

cygcheck and ldd were executed from within cygwin17,
but executed on both 1.5 and 1.7 fluid.exe. ldd.exe
does not detect the dependency on cygjpeg and cygpng
for the faulty 1.7 fluid.exe, though cygcheck does.



burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid $ cygcheck ./fluid.exe C:\cygwin\home\burgers\pkg\fltk-1.3\17\cygwin\fluid\fluid.exe C:\cygwin17\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\Secur32.dll C:\cygwin17\bin\cygjpeg-62.dll C:\cygwin17\bin\cygpng12.dll C:\cygwin17\bin\cygz.dll C:\WINDOWS\system32\COMCTL32.DLL C:\WINDOWS\system32\GDI32.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\OLE32.dll C:\WINDOWS\system32\msvcrt.dll C:\WINDOWS\system32\SHELL32.DLL C:\WINDOWS\system32\SHLWAPI.dll

burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid
$ ldd ./fluid.exe
        /drv/c/WINDOWS/system32/ntdll.dll (0x7c900000)
        /drv/c/WINDOWS/system32/kernel32.dll (0x7c800000)
        /usr/bin/cygwin1.dll (0x61000000)
        /drv/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
        /drv/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
        /drv/c/WINDOWS/system32/Secur32.dll (0x77fe0000)

burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid
$ uname -r
1.7.0(0.206/5/3)

burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid
$ cygcheck c:/cygwin/home/burgers/pkg/fltk-1.3/15/cygwin/fluid/fluid.exe
c:\cygwin\home\burgers\pkg\fltk-1.3\15\cygwin\fluid\fluid.exe
  C:\cygwin17\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\KERNEL32.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll
  C:\cygwin17\bin\cygjpeg-62.dll
  C:\cygwin17\bin\cygpng12.dll
    C:\cygwin17\bin\cygz.dll
  C:\WINDOWS\system32\COMCTL32.DLL
    C:\WINDOWS\system32\GDI32.dll
      C:\WINDOWS\system32\USER32.dll
  C:\WINDOWS\system32\OLE32.dll
    C:\WINDOWS\system32\msvcrt.dll
  C:\WINDOWS\system32\SHELL32.DLL
    C:\WINDOWS\system32\SHLWAPI.dll

burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid
$ ldd /drv/c/cygwin/home/burgers/pkg/fltk-1.3/15/cygwin/fluid/fluid.exe
        /drv/c/WINDOWS/system32/ntdll.dll (0x7c900000)
        /drv/c/WINDOWS/system32/kernel32.dll (0x7c800000)
        /usr/bin/cygwin1.dll (0x61000000)
        /drv/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
        /drv/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
        /drv/c/WINDOWS/system32/Secur32.dll (0x77fe0000)
        /usr/bin/cygjpeg-62.dll (0x63200000)
        /usr/bin/cygpng12.dll (0x6f200000)
        /usr/bin/cygz.dll (0x692c0000)
        /drv/c/WINDOWS/system32/COMCTL32.DLL (0x5d090000)
        /drv/c/WINDOWS/system32/GDI32.dll (0x77f10000)
        /drv/c/WINDOWS/system32/USER32.dll (0x7e410000)
        /drv/c/WINDOWS/system32/OLE32.dll (0x774e0000)
        /drv/c/WINDOWS/system32/msvcrt.dll (0x77c10000)
        /drv/c/WINDOWS/system32/SHELL32.DLL (0x7c9c0000)
        /drv/c/WINDOWS/system32/SHLWAPI.dll (0x77f60000)

burgers@P4114 ~/pkg/fltk-1.3/17/cygwin/fluid



A.R. Burgers schreef:

A.R. Burgers schreef:

The exact same problem as with zsh, I also run into with fltk's fluid.exe (from current 1.3 svn) on cygwin 1.7 and gcc 3.4.4.
fltk btw does not link to curses libraries.



fltk's fluid depends on libpng and libjpeg. If I move back to from jpeg 6b-20 to 6b-12 and from png 1.2.35-10 to 1.2.12-1, the built fluid.exe will launch successfully.

Teun



PNG image

PNG image

PNG image

echo Linking sudoku.exe...
Linking sudoku.exe...
windres sudoku.rc sudokures.o
g++ -v  -g -Wall -Wunused -Wno-format-y2k  -fno-exceptions -fno-strict-aliasing -mwindows  sudoku.o sudokures.o -o sudoku.exe -lwinmm ../lib/libfltk_images.a ../lib/libfltk.a -L../lib -lpng -lz -ljpeg  -lpthread  -lole32 -luuid -lcomctl32
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe --subsystem windows -Bdynamic --dll-search-prefix=cyg -o sudoku.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o -L../lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. sudoku.o sudokures.o -lwinmm ../lib/libfltk_images.a ../lib/libfltk.a -lpng -lz -ljpeg -lpthread -lole32 -luuid -lcomctl32 -lstdc++ -lgcc -lcygwin -lgdi32 -lcomdlg32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
echo Linking fluid.exe...
Linking fluid.exe...
g++ -v  -g -Wall -Wunused -Wno-format-y2k  -fno-exceptions -fno-strict-aliasing -mwindows  -o fluid.exe CodeEditor.o Fl_Function_Type.o Fl_Group_Type.o Fl_Menu_Type.o Fl_Type.o Fl_Widget_Type.o Fl_Window_Type.o Fluid_Image.o about_panel.o align_widget.o alignment_panel.o code.o factory.o file.o fluid.o function_panel.o template_panel.o undo.o widget_panel.o ../lib/libfltk_forms.a ../lib/libfltk.a ../lib/libfltk_images.a ../lib/libfltk.a -L../lib -lpng -lz -ljpeg  -lpthread  -lole32 -luuid -lcomctl32
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe --subsystem windows -Bdynamic --dll-search-prefix=cyg -o fluid.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o -L../lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. CodeEditor.o Fl_Function_Type.o Fl_Group_Type.o Fl_Menu_Type.o Fl_Type.o Fl_Widget_Type.o Fl_Window_Type.o Fluid_Image.o about_panel.o align_widget.o alignment_panel.o code.o factory.o file.o fluid.o function_panel.o template_panel.o undo.o widget_panel.o ../lib/libfltk_forms.a ../lib/libfltk.a ../lib/libfltk_images.a ../lib/libfltk.a -lpng -lz -ljpeg -lpthread -lole32 -luuid -lcomctl32 -lstdc++ -lgcc -lcygwin -lgdi32 -lcomdlg32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
: /usr/bin/install -c -m 755 fluid fluid.app/Contents/MacOS

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]