Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Alex Leigh
On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: > On 7/4/2010 1:01 AM, Alex Leigh wrote: >> >> Hi, >> >> I've been getting some STATUS_ACCESS_VIOLATION errors when running >> bash and some xwin programs, and after some searching I'm trying to >> run rebaseall to see if that would fix the

tar: symlinks unpacked to empty files

2010-07-04 Thread Yaakov (Cygwin/X)
With tar-1.23-1 and recent snapshot: echo foo > foo ln -s $PWD/foo bar tar cf test.tar bar foo rm -f bar foo tar xf test.tar ls -l bar foo You will see that 'bar' is a 0-byte file with permissions instead of a symlink. The symlink reference need not be absolute; it also happens with relativ

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex Leigh wrote, On 4.7.2010 9:20: > On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: >> On 7/4/2010 1:01 AM, Alex Leigh wrote: >>> >>> Hi, >>> >>> I've been getting some STATUS_ACCESS_VIOLATION errors when running >>> bash and some xwin p

Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread ke...@ca
Hi there, I wrote a file, hello.c. It has only one function: print a message like "hello!". # hello.c # #include void hello() { printf( "Hello.\n" ) ; } $gcc -c hello.c $gcc -shared -o hello.dll hello.o I successufully built it as DLL, hello.dll. Then, I rewrote it in c++. #

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread ke...@ca
Forgot to attach error information. hello.o:hello.cpp:(.text+0xd): undefined reference to `std::basic_string, std::allocator >::size() const' hello.o:hello.cpp:(.text+0x60): undefined reference to `std::basic_string, std::allocator >::operator[](unsigned int) const' hello.o:hello.cpp:(.text+0x9f)

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Bengt-Arne Fjellner
On 2010-07-04 12:27 PM, ke...@ca wrote: Forgot to attach error information. hello.o:hello.cpp:(.text+0xd): undefined reference to `std::basic_string, std::allocator ::size() const' hello.o:hello.cpp:(.text+0x60): undefined reference to `std::basic_string, std::allocator ::operat

Re: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Greg Chicares
On 2010-07-04 10:24Z, ke...@ca wrote: > > $gcc -c hello.c > $gcc -shared -o hello.dll hello.o > > I successufully built it as DLL, hello.dll. Here, the C runtime library is automatically linked. > Then, I rewrote it in c++. [...] > Then, I used the commands above to built DLL, but it failed. Wh

R: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread Marco Atzeri
--- Dom 4/7/10, ke...@ca ha scritto: > > Hi there, > > I wrote a file, hello.c. It has only one function: print a > message like > "hello!". > # hello.c # > #include > void hello() { printf( "Hello.\n" ) ; } > > $gcc -c hello.c > $gcc -shared -o hello.dll hello.o > > I successuf

1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken
Hi, when I try to invoke gs from the Cygwin shell prompt, I get following error message: /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory I have installed (reinstalled) the last version of ghostscript from the cygwin reposito

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Alex Leigh
2010/7/4 Václav Haisman: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alex Leigh wrote, On 4.7.2010 9:20: >> On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: >>> On 7/4/2010 1:01 AM, Alex Leigh wrote: Hi, I've been getting some STATUS_ACCESS_VIOLATION errors

Re: problems running "top" task monitor

2010-07-04 Thread P. Goldmann
Is there a way to investigate whether a unknown BLODA-app or something else causes the problem? Typically the process is just look at the security software that you have installed and try uninstalling one-by-one until the problem is resolved. Then you can reinstall all the other ones and repor

Re: problems running "top" task monitor

2010-07-04 Thread Ken Brown
On 7/4/2010 8:56 AM, P. Goldmann wrote: Is there a way to investigate whether a unknown BLODA-app or something else causes the problem? Typically the process is just look at the security software that you have installed and try uninstalling one-by-one until the problem is resolved. Then you c

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread René Berber
Alex Leigh wrote: [snip] > I get the following error: "ReBaseImage > (/usr/bin/cygcrypt-0.dll) failed with last error = 6". Searching > around it seems error code 6 comes from the DLL being in use. Is that error code a Windows exit code? Then it means "The handle is invalid." (i.e. running 'net

Re: tar: symlinks unpacked to empty files (tar security problem?)

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 04:50:41AM -0500, Yaakov (Cygwin/X) wrote: >With tar-1.23-1 and recent snapshot: > >echo foo > foo >ln -s $PWD/foo bar >tar cf test.tar bar foo >rm -f bar foo >tar xf test.tar >ls -l bar foo > >You will see that 'bar' is a 0-byte file with permissions instead >of a syml

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Yaakov (Cygwin/X)
On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken wrote: > when I try to invoke gs from the Cygwin shell prompt, I get following > error message: > /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open > shared object file: No such file or directory ldd /usr/bin/gs.exe will show yo

Re: problem updating to dash 0.5.6.1-2

2010-07-04 Thread Csaba Raduly
On Fri, Jul 2, 2010 at 10:57 PM, Robert McDougall wrote: > Running `setup.exe`, to update dash from 0.5.6.1-1 to 0.5.6.1-2, > produces: > >> Unable to extract /usr/share/doc/dash/ChangeLog -- the file is in use. >> Please stop all Cygwin processes and select "Retry", or select >> "Continue" to go

Re: tar: symlinks unpacked to empty files (tar security problem?)

2010-07-04 Thread Yaakov (Cygwin/X)
as > modified and silently decided not to create the symlink. > > I've fixed the cygwin problem - it should be in the next snapshot. It appears to be working with 20100704 snapshot. Thanks for the quick response. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken
Yaakov (Cygwin/X) wrote: On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken wrote: when I try to invoke gs from the Cygwin shell prompt, I get following error message: /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory ldd /usr/bin

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Marco Atzeri
--- Dom 4/7/10, Falk Sticken ha scritto: > > On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken > wrote: > >> when I try to invoke gs from the Cygwin shell > prompt, I get following error message: > >> /usr/bin/gs.exe: error while loading shared > libraries: ?: cannot open shared object file: No suc

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Falk Sticken
Marco Atzeri wrote: --- Dom 4/7/10, Falk Sticken ha scritto: On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken wrote: when I try to invoke gs from the Cygwin shell prompt, I get following error message: /usr/bin/gs.exe: error while loading shared libraries: ?: cannot open shared object file

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 09:11:07PM +, Marco Atzeri wrote: >--- Dom 4/7/10, Falk Sticken ha scritto: > >> > On Sun, 2010-07-04 at 13:39 +0200, Falk Sticken >> wrote: >> >> when I try to invoke gs from the Cygwin shell >> prompt, I get following error message: >> >> /usr/bin/gs.exe: error while

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 07:26:48PM -0400, Christopher Faylor wrote: >There's no "eventually" to it. It is a bug if ldd isn't reporting >missing dlls. The problem in this case is a missing nested dll. ldd doesn't yet have a mechanism to detect when a dll referenced by another dll is missing. I'm

Re: Incomplete downloads reported across several mirrors

2010-07-04 Thread Gregg Levine
On Wed, Jun 30, 2010 at 2:18 AM, Marco Atzeri <> wrote: > --- Mer 30/6/10, Jim Lawson  ha scritto: > >> > I still have this kind of problem. Does anyone know is >> it should be so? >> > More info: >> > 1) gcc: C compiler upgrade helper - version 3.4.4.999 >> > 2) glib: Gnome C function library (1.2

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Larry Hall (Cygwin)
On 7/4/2010 3:20 AM, Alex Leigh wrote: On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: On 7/4/2010 1:01 AM, Alex Leigh wrote: Hi, I've been getting some STATUS_ACCESS_VIOLATION errors when running bash and some xwin programs, and after some searching I'm trying to run rebaseall to

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Christopher Faylor
On Sun, Jul 04, 2010 at 11:15:16PM -0400, Larry Hall (Cygwin) wrote: >On 7/4/2010 3:20 AM, Alex Leigh wrote: >> On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: >>> On 7/4/2010 1:01 AM, Alex Leigh wrote: I've been getting some STATUS_ACCESS_VIOLATION errors when running bash and

Re: Rebaseall fails with error 6 on cygcrypt-0.dll

2010-07-04 Thread Alex Leigh
On Sun, Jul 4, 2010 at 11:15 PM, Larry Hall (Cygwin) wrote: > On 7/4/2010 3:20 AM, Alex Leigh wrote: >> >> On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote: >>> >>> On 7/4/2010 1:01 AM, Alex Leigh wrote: Hi, I've been getting some STATUS_ACCESS_VIOLATION errors when run

Re: R: Building DLLs on C++ version code failed, but okay on C version code.

2010-07-04 Thread ke...@ca
thank you all. You all are right. I got the desired dlls. Now I know I was misleaded by the statement that GCC is a collection of compilers and it automatically use a compiler according to a programming language. Marco atzeri-3 wrote: > > --- Dom 4/7/10, ke...@ca ha scritto: > >> >> Hi there

Re: 1.7.5: Error when invoking ghostscript (gs)

2010-07-04 Thread Marco Atzeri
--- Lun 5/7/10, Christopher Faylor ha scritto: > -0400, Christopher Faylor wrote: > >There's no "eventually" to it.  It is a bug if ldd > isn't reporting > >missing dlls. > > The problem in this case is a missing nested dll.  ldd > doesn't yet > have a mechanism to detect when a dll referenced b