Al schrieb:
Or, read from stdin as follows:
$ something that generates extra DLL list | rebaseall -T - ...
As example, something that gernates extra DLL list looks in my case like this.
PREFIX=/home/prefix/gentoo
find $PREFIX/bin/ -name *.dll -o -name *.so
find $PREFIX/lib/ -name *.dll
2010/9/17 Mark Geisert:
Al writes:
2010/9/16 Mark Geisert:
cygncurses5.dll = /home/prefix/gentoo/usr/bin/cygncurses5.dll
(0x1000)
This one is below the sixty million value that Reini described as
suspicious.
Now what do I make of that. Do I tell it to be loaded elsewhere?
It's not that simple :)
rebaseall only rebases the exact dll's which were installed from your
packager (setup.exe),
but not any other dll's used at run-time - shadowing system dll's as
in your case, or added dependencies as with perl or python.
Hmmm, that leads to the conclusion, that I
Al,
On Fri, Sep 17, 2010 at 11:24:10AM +0200, Al wrote:
It's not that simple :)
rebaseall only rebases the exact dll's which were installed from your
packager (setup.exe),
but not any other dll's used at run-time - shadowing system dll's as
in your case, or added dependencies as with
The following is the rebaseall command line syntax:
rebaseall [-b BaseAddress] [-o Offset] [-T FileList | -] [-v]
where:
-b = base address used by rebase (default: 0x7000)
-o = offset between each DLL rebased (default: 0x1)
-s = specify DLL suffix, use multiple if
The rebase README indicates the following:
The following is the rebaseall command line syntax:
rebaseall [-b BaseAddress] [-o Offset] [-T FileList | -] [-v]
where:
-b = base address used by rebase (default: 0x7000)
-o = offset between each DLL rebased (default: 0x1)
On Fri, Sep 17, 2010 at 02:53:53PM +0200, Al wrote:
You just need to use the -T option and specify the addition DLLs to
rebase.
Thank you very much.
You are quite welcome.
[snip]
To give the future reader of this thread some additional value. I
first gave the DLL file itself to the
Or, read from stdin as follows:
$ something that generates extra DLL list | rebaseall -T - ...
As example, something that gernates extra DLL list looks in my case like this.
PREFIX=/home/prefix/gentoo
find $PREFIX/bin/ -name *.dll -o -name *.so
find $PREFIX/lib/ -name *.dll -o -name *.so
Hello,
I knew in advance this would be one of the difficult points. I
compiled python and ncurses on a prefix. Now I get the following
error:
2 [main] python2.6 1180
P:\cygwin\home\prefix\gentoo\usr\bin\python2.6.exe: *** fatal error -
unable to remap
To give some additional information: If I run the program several
times (without rebasing in between) the addresses always change. I
don't see a pattern in it:
2 [main] python2.6 384
P:\cygwin\home\prefix\gentoo\usr\bin\python2.6.exe: *** fatal error -
unable to remap
Al schrieb:
To give some additional information: If I run the program several
times (without rebasing in between) the addresses always change. I
don't see a pattern in it:
2 [main] python2.6 3592
P:\cygwin\home\prefix\gentoo\usr\bin\python2.6.exe: *** fatal error -
unable to remap
Did rebaseall really succeed successfully?
I turned off Avira. Rebaseall was successfull (no warnings or else).
Did also reboot.
Looks like one dll is at a wrong baseaddress. I often had /bin/cygz.dll
wrong.
Everything below 0x6000 should be suspicious:
ldd /bin/python.exe
Cygwin Python binary is working. Something must be wrong with my own
cygwin build I guess.
correct: ... with my own Python build ...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
To compare both:
Everything below 0x6000 should be suspicious:
ldd /bin/python.exe
pre...@alder ~ $ ldd ~/gentoo/usr/bin/python2.6.exe
ntdll.dll = /cygdrive/c/Windows/system32/ntdll.dll (0x7796)
kernel32.dll = /cygdrive/c/Windows/system32/kernel32.dll (0x7788)
2010/9/16 Mark Geisert m...@maxrnd.com:
ldd /bin/bash
prefix at Alder ~ $ ldd ~/gentoo/bin/bash.exe
ntdll.dll = /cygdrive/c/Windows/system32/ntdll.dll (0x7796)
kernel32.dll = /cygdrive/c/Windows/system32/kernel32.dll
(0x7788)
cygncurses5.dll =
Al writes:
2010/9/16 Mark Geisert at XX.XXX:
Please don't feed the spammers.
cygncurses5.dll = /home/prefix/gentoo/usr/bin/cygncurses5.dll
(0x1000)
This one is below the sixty million value that Reini described as
suspicious.
Now what do I make of that. Do I tell
16 matches
Mail list logo