Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Nick Glencross
Guys, I've done some research on this and don't believe that it's a perennial question that keeps coming up! On many platforms compilation symbols in an executable are not made visible to its Shared Library/DLLs by default, but this can often be overridden with a compiler flag to change the polic

Re: Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Max Bowsher
Nick Glencross wrote: Guys, I've done some research on this and don't believe that it's a perennial question that keeps coming up! On many platforms compilation symbols in an executable are not made visible to its Shared Library/DLLs by default, but this can often be overridden with a compiler

Re: Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Brian Dessent
Max Bowsher wrote: > I'm fairly sure that it is impossible. Actually, it might be possible if > there was a flag to convice GCC to add an import table to the built .exe, > but last time I investigated that, there was no such flag. But even if that > was possible, the .dll would need to explicitly

Re; Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Danny Smith
Nick Glencross wrote: > On many platforms compilation symbols in an executable are not made > visible to its Shared Library/DLLs by default, but this can often be > overridden with a compiler flag to change the policy. My question in a > nutshell then is whether cygwin has the ability to have a DL

entry point error while executing gcc command

2005-09-26 Thread Vedpathak, Rameshwari IN BLR SISL
Hello, I have installed a cygwin package newly on my system, its WinXP system. i have installed fles, bison and gcc from the pakage. But while runing the gcc command i get error : "The procedure entry point __getreent could not be located in the dynamic link library cygwin1.dll" I have alrea

Bug in dd ?? at EOM

2005-09-26 Thread Bengt-Arne Fjellner
When using dd with flags conv=noerror,sync It tries reading after the disc ends. This line in cygwin tries reading past end of media: dd if=/dev/sdd of=kk bs=512 skip=156280250 conv=noerror,sync dd: reading `/dev/sdd': Input/Output error 21120+0 records in 21120+0 records out 10813440 bytes (

Re: FAQ Notes

2005-09-26 Thread Corinna Vinschen
On Sep 25 21:01, Christopher Faylor wrote: > On Sun, Sep 25, 2005 at 05:36:23PM -0700, Joshua Daniel Franklin wrote: > >Cygwin can be expected to run on all modern 32 bit versions of > >Windows, except Windows CE. This includes Windows 95/98/ME/NT/2000/XP. > >Since Cygwin is a community-supported f

RE: Bug in dd ?? at EOM

2005-09-26 Thread Dave Korn
Original Message >From: Bengt-Arne Fjellner >Sent: 26 September 2005 11:43 > When using dd with flags conv=noerror,sync > It tries reading after the disc ends. > > This line in cygwin tries reading past end of media: > dd if=/dev/sdd of=kk bs=512 skip=156280250 conv=noerror,sync > dd

Re: entry point error while executing gcc command

2005-09-26 Thread Gerrit P. Haase
Vedpathak, Rameshwari IN BLR SISL wrote: Hello, I have installed a cygwin package newly on my system, its WinXP system. i have installed fles, bison and gcc from the pakage. But while runing the gcc command i get error : "The procedure entry point __getreent could not be located in the d

RE: Strange behaviour with g++ 3.4.4-1

2005-09-26 Thread Dave Korn
Original Message >From: Angelo Graziosi >Sent: 23 September 2005 22:01 > Rebuilding, with GCC 3.4.4-1, a few my Windows applications > (those that use -mwindows), I have found a compiler error that > was absent in the build with GCC 3.3.3-3. > > I have created the simplest test case that

RE: entry point error while executing gcc command

2005-09-26 Thread Dave Korn
Original Message >From: Vedpathak, Rameshwari IN BLR SISL >Sent: 26 September 2005 11:20 > Hello, > > I have installed a cygwin package newly on my system, its WinXP system. > i have installed fles, bison and gcc from the pakage. > > But while runing the gcc command i get error : "The p

setup.ini

2005-09-26 Thread Hassel, Scott
It appears that the currently mirrored setup.ini for the installation utility is missing a '"' on line 496 under the @ a2ps entry. Could someone confirm and correct? Thanks Scott Hassel 904-905-6961 Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not r

cygrunsrv Servicename display not case-sensitive

2005-09-26 Thread Reini Urban
Just a minor complaint, that cygrunsrv -Q doesn't display the servicename as stored in the registry or installed. It displays just the name from the commandline. Case-insensitive lookup is okay, but I would expect that the case-sensitive correct name will be printed. Service : Postgres

setup.exe error

2005-09-26 Thread Hassel, Scott
Alright, I must of been mistaken about the quote. Here is the error I'm getting when running setup. It says it's parsing the setup.bz2 from the mirror I'm downloading from, but performing a clean load to a new client does not cause the same errors. Parse Errors (null) line 443: syntax e

Re: how to choose apps to install

2005-09-26 Thread nidhog
sorry guys, i read the FAQ before and thought that you will have to know the dependencies too and end up with a broken app if you didn't check all the dependencies that it needed. fortunately cygwin is smarter than i am. sorry for the noise. more power to cygwin, /nh -- Unsubscribe info:

Re: Funny hang with snapshop 20050920

2005-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 9/23/2005 6:11 PM: > > There is a new snapshot up there now. I think I've given up on the > technique that I was trying to use to fix the Windows 98 bug. I've > yanked out a lot of the code and simplified things bu

Re: Funny hang with snapshop 20050920

2005-09-26 Thread Christopher Faylor
On Mon, Sep 26, 2005 at 07:05:00AM -0600, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Christopher Faylor on 9/23/2005 6:11 PM: >> >> There is a new snapshot up there now. I think I've given up on the >> technique that I was trying to use to fix the Windows 98

Re: Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Christopher Faylor
On Mon, Sep 26, 2005 at 02:32:25AM -0700, Brian Dessent wrote: >Max Bowsher wrote: > >> I'm fairly sure that it is impossible. Actually, it might be possible if >> there was a flag to convice GCC to add an import table to the built .exe, >> but last time I investigated that, there was no such flag.

Re: FAQ Notes

2005-09-26 Thread Christopher Faylor
On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote: >...Cygwin is also supported in the 32 bit environment WOW64 on 64 bit >versions of Windows XP and 2K3, but that there are no plans to create a >native 64 bit version of Cygwin. OTOH, I'm sure there are interested parties around who

Re: setup.ini

2005-09-26 Thread Christopher Faylor
On Mon, Sep 26, 2005 at 07:59:59AM -0400, Hassel, Scott wrote: >It appears that the currently mirrored setup.ini for the installation >utility is missing a '"' on line 496 under the @ a2ps entry. Could >someone confirm and correct? setup.ini is generated by a program. If an entry really was miss

Re: FAQ Notes

2005-09-26 Thread Corinna Vinschen
On Sep 26 09:35, Christopher Faylor wrote: > On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote: > >...Cygwin is also supported in the 32 bit environment WOW64 on 64 bit > >versions of Windows XP and 2K3, but that there are no plans to create a > >native 64 bit version of Cygwin. > >

Re: Bug in dd ?? at EOM

2005-09-26 Thread Corinna Vinschen
On Sep 26 12:08, Dave Korn wrote: > Original Message > >From: Bengt-Arne Fjellner > >Sent: 26 September 2005 11:43 > > > When using dd with flags conv=noerror,sync > > It tries reading after the disc ends. > > > > This line in cygwin tries reading past end of media: > > dd if=/dev/sdd of

Re: FAQ Notes

2005-09-26 Thread Joshua Daniel Franklin
On 9/26/05, Corinna Vinschen wrote: > On Sep 26 09:35, Christopher Faylor wrote: > > On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote: > > >...Cygwin is also supported in the 32 bit environment WOW64 on 64 bit > > >versions of Windows XP and 2K3, but that there are no plans to creat

Re: FAQ Notes

2005-09-26 Thread Christopher Faylor
On Mon, Sep 26, 2005 at 09:35:21AM -0700, Joshua Daniel Franklin wrote: >On 9/26/05, Corinna Vinschen wrote: >> On Sep 26 09:35, Christopher Faylor wrote: >> > On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote: >> > >...Cygwin is also supported in the 32 bit environment WOW64 on 64 b

Re: Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Nick Glencross
Max, Thanks, that's the conclusion that I had come to. On other UNIX-based platforms it's possible without actually linking with the .exe, provided you have compiled with the right flags (-shared on Linux, or -E on HP-UX). With this done the .exe exposes its global symbols to subsequently loaded l

1.5.18: ping 1.01 error message 'recvfrom: Invalid argument'

2005-09-26 Thread Marco Deppe
Hi, when I try to run ping I get screens full of the same error message "ping: recvfrom: Invalid argument" Find a shortened output below and the cygcheck output attached. I'm using cygwin 1.5.18 on WinXP SP2, ping package version is 1.01 . My suspicion: My user is not a local admin - do I have t

RE: Strange behaviour with g++ 3.4.4-1

2005-09-26 Thread Angelo Graziosi
Dave Korn wrote: > You can fix it like this: > > [EMAIL PROTECTED] /test/cplus> g++ test.fixed.cpp -o test > [EMAIL PROTECTED] /test/cplus> diff -pu test.cpp test.fixed.cpp > --- test.cpp2005-09-26 10:52:37.405042000 +0100 > +++ test.fixed.cpp 2005-09-26 10:52:26.555119000 +0100 > @@ -

Re: rebase: rebaseall growing pains

2005-09-26 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Tishler wrote: > Actually, the above brings up an interesting question. Did you run out > of rebase address space? Please run rebaseall as follows: > > $ rebaseall -v | tail -1 /usr/lib/zsh/4.2.4/zsh/zutil.dll: new base = 50db, new si

setup.exe 2.510.2.2, 2.427 and 2.457 consistently failing, on win2000, sp4

2005-09-26 Thread Luke Kenneth Casson Leighton
hi, um. very confused. setup.exe in't setting anything up. i get a modal dialog at the end of the process saying "set_cygdrive_flags" - the operation completed successfully. i check c:\cygwin\var\log\setup.log and it is full of io_stream_cygfile: fopen failed 2 No such file or directory, pres

Re: Visibility of compiler symbols between executables and DLLs

2005-09-26 Thread Charles Wilson
Brian Dessent wrote: Max Bowsher wrote: I'm fairly sure that it is impossible. Actually, it might be possible if there was a flag to convice GCC to add an import table to the built .exe, but last time I investigated that, there was no such flag. But even if that was possible, the .dll would ne

Re: Strange behaviour with g++ 3.4.4-1

2005-09-26 Thread Charles Wilson
Dave Korn wrote: You can fix it like this: #include #include +#undef max +#undef min #include or like this: #include +#define NOMINMAX #include #include -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/prob

Re: setup.exe 2.510.2.2, 2.427 and 2.457 consistently failing, on win2000, sp4

2005-09-26 Thread Igor Pechtchanski
On Mon, 26 Sep 2005, Luke Kenneth Casson Leighton wrote: > hi, > > um. very confused. setup.exe in't setting anything up. > > i get a modal dialog at the end of the process saying > "set_cygdrive_flags" - the operation completed successfully. > > i check c:\cygwin\var\log\setup.log and it is ful

Re: rebase: rebaseall growing pains

2005-09-26 Thread Jason Tishler
Yaakov, On Mon, Sep 26, 2005 at 05:21:42PM -0500, Yaakov S wrote: > Jason Tishler wrote: > > Actually, the above brings up an interesting question. Did you run > > out of rebase address space? Please run rebaseall as follows: > > > > $ rebaseall -v | tail -1 > > /usr/lib/zsh/4.2.4/zsh/zuti

Re: setup.exe 2.510.2.2, 2.427 and 2.457 consistently failing, on win2000, sp4

2005-09-26 Thread Larry Hall
At 08:43 PM 9/26/2005, Igor P. wrote: >> i've tried (to my detriment because it is a one-way process >> where i will never be able to reliably gain read-write access >> to the drive, or recovery process on linux) converting the >> filesystem from FAT32 to NTFS. > >Ouch. You have my sympathies, tho

Re: Socket operation on non-socket with rsync/ssh

2005-09-26 Thread Pablo Halpern
Larry Hall cygwin.com> writes: > > At 10:33 AM 9/25/2005, you wrote: > >Hello readers! > > > >I'm having some continuous problems with rsync/ssh in Windows (cygwin) > >environment. For some reason, ssh raises a "Socket operation on > >non-socket" error when I try to transfer files with rsync ove

Re: Funny hang with snapshop 20050920

2005-09-26 Thread Aaron Humphrey
On 9/23/05, Christopher Faylor wrote: > Also could anyone who could duplicate the Windows 98 error popup dialog > confirm or deny if it is still fixed? I was unable to produce the error using scp with the 20050925 snapshot(the whole cygwin-inst, in fact). So far, so good. -- --Alfvaen(Web page: