gcc2 instead gcc

2003-02-22 Thread christian . schuster
Hi list, I am newbie and have a simple question. I want to compile PostgreSQL with gcc2 instead of gcc. First I downloaded just the gcc2 compiler. But the as I wanted to configure I had the error that no C compiler is installed. So, I also downloaded gcc and then I could compile. How can I do

Re: gcc2 instead gcc

2003-02-22 Thread Thorsten Kampe
* [EMAIL PROTECTED] (03-02-22 10:13 +0100) > I am newbie and have a simple question. I want to compile PostgreSQL with > gcc2 instead of gcc. Why? > First I downloaded just the gcc2 compiler. But the as > I wanted to configure I had the error that no C compiler is installed. So, > I also download

Re: Am I a candidate for rebase?

2003-02-22 Thread Jason Tishler
Arno, On Sat, Feb 22, 2003 at 02:20:49AM +0100, Arno Waschk wrote: > I compiled some dlls which give "dlopen: win32 error 1157". > Is that connected with rebasing, or is there another trick? Hmm... $ fgrep 1157 /usr/include/w32api/winerror.h #define ERROR_DLL_NOT_FOUND 1157L Jason --

Creating DLLs with Cygwin/g++

2003-02-22 Thread Wil Hunt
Hey all, I'm rather new to DLL programming and my C++ days are five years behind me. So please bear with me. :) I'd like to write a C++ program that will link as a DLL to be loaded as a plugin in another application. I've broken the learning process down as follows: 1) Make and compile

Re: Accessing global variables causes segfault

2003-02-22 Thread David Means
One problem is that 'myglobal' is a pointer to an int, but the int is never defined, and hence, you're assigning a value to a pointer that points no where. It's very common for things like this to work on one platform, but not another. On Sat, 2003-02-22 at 00:21, Steve Baldwin wrote: I'm ha

Is MAILX supported

2003-02-22 Thread wak9167
Hi Is the MAILX command supported or is there an alternative. I keep getting the error mailx not found when running my script. Many thanks Wak -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://

Re: Creating DLLs with Cygwin/g++

2003-02-22 Thread Elfyn McBratney
> Hey all, > > I'm rather new to DLL programming and my C++ days are five years behind > me. So please bear with me. :) > > I'd like to write a C++ program that will link as a DLL to be loaded as > a plugin in another application. I've broken the learning process down as > follows: > > 1)

Re: Am I a candidate for rebase?

2003-02-22 Thread Arno Waschk
hmm, I am more than sure that those dlls are somewhat found, but thanks anyway for pointing me in some direction!! Arno On Sat, 22 Feb 2003 10:15:42 -0500, Jason Tishler <[EMAIL PROTECTED]> wrote: Arno, On Sat, Feb 22, 2003 at 02:20:49AM +0100, Arno Waschk wrote: I compiled some dlls which giv

Re: gcc2 instead gcc

2003-02-22 Thread Randall R Schulz
Christian, Thorsten's delicate advice notwithstanding, if you installed the "historic" GCC 2.95.3 compiler contained in the "gcc2" package, you must use "gcc-2" to invoke it. Note that the package name has no hyphen, but the compiler name does. Makefiles usually use the variable CC to invoke t

Command-line options for setup.exe

2003-02-22 Thread Garg, Rajiv
Does setup.exe support command-line options? If so, where can I find the documentation for them? I would like to roll-out Cygwin to 300+ machines and command-line options to install all packages found in network share would be simplest method, otherwise I might have to repackage it into a MSI usi

Re: Re: upgrading broke cygwin?

2003-02-22 Thread Elfyn McBratney
> I upgraded to the 1.3.20-1 version dll today and saw very similar and > strange behavior. Some things wouldn't execute due to permissions errors, > and other would execute from commandline but not from a script. What causes > this, I don't know. > > I ran setup.exe again, found the "base" cygwi

Re: Seg fault in home-built mutt

2003-02-22 Thread Jason Tishler
On Fri, Feb 21, 2003 at 09:15:20PM +0100, [EMAIL PROTECTED] wrote: > Thanks for your time Gary, you too Justin. ^^ Who is Justin? Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AF

Re: Is MAILX supported

2003-02-22 Thread Elfyn McBratney
> Is the MAILX command supported or is there an alternative. I keep > getting the error mailx not found when running my script. No. There are alternatives: ssmtp, procmail and exim. But if you need something to read it then there's mutt and pine, and maybe a few more (?). Once you have installed

Re: Is MAILX supported

2003-02-22 Thread Randall R Schulz
Wak, The way to answer this question is to visit this page, and enter the name of the program into the text field and search (). No package includes a file with "mailx" in its name, so I'm guessing the answe

RE: Is MAILX supported

2003-02-22 Thread wak9167
Many thanks for the info... -Original Message- From: Elfyn McBratney [mailto:[EMAIL PROTECTED] Sent: 22 February 2003 17:37 To: cygwin; wak9167 Subject: Re: Is MAILX supported > Is the MAILX command supported or is there an alternative. I keep > getting the error mailx not found when

Re: Seg fault in home-built mutt

2003-02-22 Thread Randall R Schulz
I assume he meant you, Jackson. Randolph Rudolph Schulz At 09:31 2003-02-22, Jason Tishler wrote: On Fri, Feb 21, 2003 at 09:15:20PM +0100, [EMAIL PROTECTED] wrote: > Thanks for your time Gary, you too Justin. ^^ Who is Justin? Jason -- Unsubscribe info

Re: 1.3.21

2003-02-22 Thread Jason Tishler
Brian, Please post instead of sending private email. On Fri, Feb 21, 2003 at 03:04:38PM -0600, Brian Ford wrote: > On Fri, Feb 21, 2003 at 14:12:09PM -0500, Jason Tishler wrote: > > It also doesn't explain with gdb and strace "fixed" the bad > > permissions too. > > > > I had to revert Cygwin to

Re: Change in command line behavior between cygwin 1.3.18-1 and 1.3.19-1

2003-02-22 Thread Elfyn McBratney
> I am hoping that someone can explain this change of behavior I have > noticed that occurred between Cygwin version 1.3.18-1 and 1.3.19-1. > > In order to remain compatible with MKS, and also to keep version control > as simple as possible we need to continue using ksh to execute our scripts. > On

Re: GPL Violation

2003-02-22 Thread Christopher Faylor
On Fri, Feb 21, 2003 at 02:42:36PM -0500, Gerald S. Williams wrote: >I wrote: >> There is another side to this issue: the fact that RedHat is >> not in the business of supporting a standalone cygwin1.DLL, > ^^^ >I knew that I shouldn't have touched that one yet... > >I'm assuming t

Which packages are needed for PostgreSQL-7.3.2-1

2003-02-22 Thread christian . schuster
Hi list, I am wondering if anyone can tell me which packages of cygwin I need to install to build PostgreSQL-7.3.2-1. At the moment I can configure and make PostgreSQL-7.3.2-1. But make pulls out a lot of missing-declarations. .. make -C tcop all make[3

Re: Which packages are needed for PostgreSQL-7.3.2-1

2003-02-22 Thread Elfyn McBratney
> make -C tcop all > make[3]: Entering directory > `/usr/src/postgresql-7.3.2-1/src/backend/tcop' > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations > -I../../../src/include -DBUILDING_DLL -c -o dest.o dest.c > [...] > gcc -O2 -Wall

Does Mutt work now?

2003-02-22 Thread Tom Sahrendt
Hi there, does mutt work now? I installed Cygwin a while ago on Win98 and mutt had that lock prob, so I uninstalled Cygwin and decided to wait till they included a working version of mutt in the package. Did that happen yet or does anyone know how long it will take till I can download a working bi

Re: Creating DLLs with Cygwin/g++

2003-02-22 Thread Wil Hunt
That was wonderful, thank you! Now on to my next issues... ;) Wil "Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hey all, > > > > I'm rather new to DLL programming and my C++ days are five years > behind > > me. So please bear with me. :) > > > > I'd l

Generating C/C++ headers from DLL or pascal information

2003-02-22 Thread Wil Hunt
I need to link against a DLL created using Borland's Delphi pascall product. I have been provided the DLL and the pascal signatures, but I'm not sure how to translate pascal signatures into C/C++. I have used impdef/dlltool to generate a library file for the DLL against which I can link, however I

Re: Generating C/C++ headers from DLL or pascal information

2003-02-22 Thread Elfyn McBratney
> Can this be generated from the library I created? If not, where can I find > a reliable mapping for Delphi signatures -> C/C++ signatures? For example, > I think PChar is char *, but what is boolean? Are variable procedure > parameters just pointers to the respective data types? There's quite

Re: Creating DLLs with Cygwin/g++

2003-02-22 Thread Charles Wilson
http://www.neuro.gatech.edu/users/cwilson/cygutils/dll-stuff/index.html --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Am I a candidate for rebase?

2003-02-22 Thread M MWpycg
"Jason Tishler" <[EMAIL PROTECTED]> said: > > C:\cygwin\bin\cygperl.exe: *** unable to remap > C:\cygwin\usr\X11R6\bin\libfreetype.dll to same address > as parent(0x72) != 0x74 > > Yup, you need to rebase. $ cd /usr $ rebaseall It ran silent, ran deep, and ran fast, and then I could

Re: Does Mutt work now?

2003-02-22 Thread Ajay Simha
On Sat Feb 22 19:12:31 2003, Tom Sahrendt wrote: > Hi there, I'm not on win-98. I'm on win-2k and mutt version 1.4i works great. -ajay > > does mutt work now? I installed Cygwin a while ago on > Win98 and mutt had that lock prob, so I uninstalled > Cygwin and decided to wait till they included a

[ANNOUNCEMENT] Updated: libtool-devel-20030216, libltdl-20030216

2003-02-22 Thread Charles Wilson
libtool-devel has been updated to the 20030216 CVS codebase, as well as libltdl3. The 20030216 release has been in 'test' for a week, with no ill effects -- save a known problem with wacky pseudo-cross-compiler setups (see 'Open issue' below). Note that libtool-devel-20030103 depends on autoco

RE: Does Mutt work now?

2003-02-22 Thread Gary R. Van Sickle
Sorry, mutt still has problems on Win98. -- Gary R. Van Sickle Brewer. Patriot. > Hi there, > > does mutt work now? I installed Cygwin a while ago on > Win98 and mutt had that lock prob, so I uninstalled > Cygwin and decided to wait till they included a > working version of mutt in the packag

updating packages?

2003-02-22 Thread joy ping
hi there, i know it may be a newbie question, but how can i update easily packages in cygwin. i tried the setup-tool, but it downloads everytime the whole bunch of packages and seems to install the whole stuff again, either i had already installed cygwin completly. i just want to add one package.

Re: updating packages?

2003-02-22 Thread Elfyn McBratney
> hi there, > i know it may be a newbie question, but how can i update easily packages > in cygwin. i tried the setup-tool, but it downloads everytime the whole > bunch of packages and seems to install the whole stuff again, either i had > already installed cygwin completly. i just want to add one

RE: Accessing global variables causes segfault

2003-02-22 Thread Steve Baldwin
Thanks for your reply, and I know I stuffed up my example, but there's still some weird (in my mind) things going on here. Have a look at this ... ## Here's where it goes splat .. ## [cdev]$ cat a.c #include #include extern void fx (void) ; extern void fx2 (void) ; extern int *myglobal ; int m

sshd fills syslog on Win98

2003-02-22 Thread Pierre A. Humblet
On Win98 sshd fills syslog with error lines such as 2003-02-22 18:33:26 : sshd : PID 213289 : LOG_ERR : error: Failed to disconnect from controlling tty. 2003-02-22 18:33:32 : sshd : PID 771213 : LOG_INFO : syslogin_perform_logout: logout() returned an error * The first seems to originate

Re: Does Mutt work now?

2003-02-22 Thread Greg Matheson
On Sat, 22 Feb 2003, Gary R. Van Sickle wrote: > Sorry, mutt still has problems on Win98. If you're talking about the cygwin version, then 1.25i works fine on Win98. At least I haven't missed the email which you are telling me I might have lost ;-) Agreed the locking problem with 1.4 seems to co

DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhello.o(.text+0x164

Re: updating packages?

2003-02-22 Thread Larry Hall (RFK Partners, Inc.)
Elfyn McBratney wrote: hi there, i know it may be a newbie question, but how can i update easily packages in cygwin. i tried the setup-tool, but it downloads everytime the whole bunch of packages and seems to install the whole stuff again, either i had already installed cygwin completly. i just wan

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Larry Hall (RFK Partners, Inc.)
Wil Hunt wrote: Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhell

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> I think I'm making marvelous progress. Unfortunately, I'm getting an > error that doesn't make sense: > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup > Creating library file: libdllhello.a > dllhello.o(.text+0x164)

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I think I'm making marvelous progress. Unfortunately, I'm getting an > > error that doesn't make sense: > > > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > > other.dll -Wl,--out-implib,libdllhello.a -Wl

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> "Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > I think I'm making marvelous progress. Unfortunately, I'm getting > an > > > error that doesn't make sense: > > > > > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > > > other.dll -Wl,--out-implib,l

Re: Am I a candidate for rebase?

2003-02-22 Thread Jason Tishler
On Sat, Feb 22, 2003 at 01:42:27PM -0800, M MWpycg wrote: > "Jason Tishler" <[EMAIL PROTECTED]> said: > > > C:\cygwin\bin\cygperl.exe: *** unable to remap > > C:\cygwin\usr\X11R6\bin\libfreetype.dll to same > address > as parent(0x72) != 0x74 > > > > Yup, you need to rebase. > > $ cd /

Re: Which packages are needed for PostgreSQL-7.3.2-1

2003-02-22 Thread Jason Tishler
Christian, On Sat, Feb 22, 2003 at 07:41:32PM +0100, [EMAIL PROTECTED] wrote: > I am newbie in cygwin and unix world. Given the above, why aren't you just using the pre-built PostgreSQL 7.3.2-1 binary? Do you really need to build from source? Jason -- PGP/GPG Key: http://www.tishler.net/jason

Re: Is MAILX supported

2003-02-22 Thread David Bath
From: "wak9167" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Is MAILX supported Date: Sat, 22 Feb 2003 16:07:33 - Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Is the MAILX command supported or

RE: Does Mutt work now?

2003-02-22 Thread David Bath
From: "Gary R. Van Sickle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Does Mutt work now? Date: Sat, 22 Feb 2003 16:50:46 -0600 Message-ID: <[EMAIL PROTECTED]> Sorry, mutt still has problems on Win98. -- Gary R. Van Sickle Brewer. Patriot. Hi there, does mutt work now? I installe

Re: sshd fills syslog on Win98

2003-02-22 Thread Igor Pechtchanski
On Sat, 22 Feb 2003, Pierre A. Humblet wrote: > On Win98 sshd fills syslog with error lines such as > > 2003-02-22 18:33:26 : sshd : PID 213289 : LOG_ERR : > error: Failed to disconnect from controlling tty. > 2003-02-22 18:33:32 : sshd : PID 771213 : LOG_INFO : > syslogin_perform_logout: logout

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> That didn't seem to work. I'm still confused as to why the > --enable-stdcall-fixup flag doesn't appear to be working. > > [...] > > > > Both the extern prototype and the function call are in dllhello.C. > Thus > it > > does see the prototype. As a further note and after further testing, > if

Re: cygstart, mutt or mailcap?

2003-02-22 Thread Ajay Simha
On Fri Feb 21 10:09:23 2003, Igor Pechtchanski wrote: > On Fri, 21 Feb 2003, Ajay Simha wrote: > > > On Fri Feb 21 09:33:58 2003, Igor Pechtchanski wrote: > > > On Fri, 21 Feb 2003, Ajay Simha wrote: > > > > > > > Hi, > > > > > > > > This is what my .mailcap looks like: > > > > > > > > ===

Re: 1.3.16-1: Apache 1.3.24 not rotating/lockup problem

2003-02-22 Thread Elfyn McBratney
> Dylan Cuthbert wrote: > > > > Any more information on this problem? Anyone solved it? > > unfortunatly no. I guessed the latest cygwin 1.3.20-x, which included > some TCP connection related fixes would be the cure, but it didn't. > > > server-status makes it obvious what's being said in this thr