swprintf() & friends

2008-02-01 Thread Samuel Thibault
Hello, We noticed that there is no swprintf and friends on cygwin (while mingw has them), did anybody work on this or does it have to be done? Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: h

Re: swprintf() & friends

2008-02-01 Thread Corinna Vinschen
On Feb 1 10:18, Samuel Thibault wrote: > Hello, > > We noticed that there is no swprintf and friends on cygwin (while mingw > has them), did anybody work on this or does it have to be done? Newlib is missing these functions. I'm not aware that somebody is working on adding them. Corinna --

Help with Make

2008-02-01 Thread Richard Head
Hi, first post in here. Im not a very experienced C programmer, and Im fiddling with make. I have the following make file (entitled Makefile): fusionTK.exe : main.o fusionFileIO.o fusionAlgorithms.o gcc main.o fusionFileIO.o fusionAlgorithms.o -o fusionTK.exe main.o : main.c fusionDefs.h

Using msvcrt.lib from cygwin gcc

2008-02-01 Thread Anik Pal
What will be the make file syntax to use msvcrt.lib to compile my source code in cygwin gcc? Anik Pal Vadodara, India -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Help with Make

2008-02-01 Thread Alberto Luaces
El Friday 01 February 2008 12:38:30 Richard Head escribió: > Hi, first post in here. > > Im not a very experienced C programmer, and Im fiddling with make. I > have the following make file (entitled Makefile): > > fusionTK.exe : main.o fusionFileIO.o fusionAlgorithms.o >         gcc main.o fusionFi

Re: Help with Make

2008-02-01 Thread Richard Head
> > Are you running make from Cygwin's shell or from the Windows command line > shell instead? Windows Command Line. Ive just tried it in the Cygwin shell and I get the same first error. The 2nd has gone away (It can find gcc now!) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

Re: Help with Make

2008-02-01 Thread Alberto Luaces
El Friday 01 February 2008 13:11:53 Richard Head escribió: > > Are you running make from Cygwin's shell or from the Windows command line > > shell instead? > > Windows Command Line. > > Ive just tried it in the Cygwin shell and I get the same first error. The > 2nd has gone away (It can find gcc no

Re: Help with Make

2008-02-01 Thread Richard Head
How stupid of me. Main.c was in the wrong directory *slaps forehead*. As for the gcc command not being found, that wasnt in the path, but now it is, and its still not working. Odd. Maybe Ill just stick with the cywin shell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Prob

Re: Help with Make

2008-02-01 Thread Richard Head
Right, I got it fixed and theres 2 things: PKZIP had set up a user variable named PATH that was set to " "C:\Program Files\PKWARE\PKZIPC\" " which was appended on the end of the system path. This just repeated an earlier entry. Removing the "'s from the path let make find the correct path. --

RE: Help with Make

2008-02-01 Thread Dave Korn
On 01 February 2008 13:56, Richard Head wrote: Right, so... > D:\Current_Work\Stand Alone Image Fusion\Image Fusion Toolkit>gcc -v > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs > Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure > --ver bose --prefix=/usr

Re: Help with Make

2008-02-01 Thread Richard Head
> Ok, show us: cut and paste the actual output from your shell when you run > the following commands: > > path > which -a gcc > gcc -v > ls -la /bin/gcc > > cheers, > DaveK Here you go (enjoy ;) ): PATH=C:\MentorGraphics\2005EXP\SDD_HOME\common\win32\bin;C:\MentorGraphics\2005E XP

RE: Help with Make

2008-02-01 Thread Dave Korn
On 01 February 2008 13:03, Richard Head wrote: > How stupid of me. > Main.c was in the wrong directory *slaps forehead*. D'oh! ~(_8^(|) > As for the gcc command not being found, that wasnt in the path, but now it > is, and its still not working. Odd. What kind of "not working"? If it's

Re: Using msvcrt.lib from cygwin gcc

2008-02-01 Thread Christopher Faylor
On Fri, Feb 01, 2008 at 01:30:12PM +0100, Alberto Luaces wrote: >El Friday 01 February 2008 13:04:02 Anik Pal escribi?: >> What will be the make file syntax to use msvcrt.lib to compile my source >> code in cygwin gcc? > >I think you have to add the flag -mno-cygwin to your compiler command line.

RE: Help with Make

2008-02-01 Thread Dave Korn
On 01 February 2008 12:12, Richard Head wrote: >> Are you running make from Cygwin's shell or from the Windows command line >> shell instead? > > Windows Command Line. > > Ive just tried it in the Cygwin shell and I get the same first error. The > 2nd has gone away (It can find gcc now!) So,

Re: Using msvcrt.lib from cygwin gcc

2008-02-01 Thread Alberto Luaces
El Friday 01 February 2008 13:04:02 Anik Pal escribió: > What will be the make file syntax to use msvcrt.lib to compile my source > code in cygwin gcc? I think you have to add the flag -mno-cygwin to your compiler command line. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

Re: Help with Make

2008-02-01 Thread Richard Head
> What kind of "not working"? If it's still saying "Not found", then it's got > to be not in the path after all; if it's some other error message now, tell us > which? > Still saying gcc: command not found, and d:\cygwin\bin is def in the path. -- Unsubscribe info: http://cygwin.com/ml

RE: Help with Make

2008-02-01 Thread Dave Korn
On 01 February 2008 13:42, Richard Head wrote: >> What kind of "not working"? If it's still saying "Not found", then it's >> got to be not in the path after all; if it's some other error message now, >> tell us which? >> > > Still saying gcc: command not found, and d:\cygwin\bin is def in th

Re: Help with Make

2008-02-01 Thread Christopher Faylor
On Fri, Feb 01, 2008 at 01:41:48PM +, Richard Head wrote: >> What kind of "not working"? If it's still saying "Not found", then it's >> got >> to be not in the path after all; if it's some other error message now, tell >> us >> which? > >Still saying gcc: command not found, and d:\cygwin\b

RE: Linker Errors?

2008-02-01 Thread Dave Korn
On 01 February 2008 16:22, Richard Head wrote: > I get the following output when I try and link 3 object files to form my > exe. > > gcc main.o fusionFileIO.o fusionAlgorithms.o -o fusionTK.exe > fusionFileIO.o:fusionFileIO.c:(.rdata+0x0): multiple definition of > `_BAD_IMAGE' main.o:main.c:(.rd

Linker Errors?

2008-02-01 Thread Richard Head
I get the following output when I try and link 3 object files to form my exe. gcc main.o fusionFileIO.o fusionAlgorithms.o -o fusionTK.exe fusionFileIO.o:fusionFileIO.c:(.rdata+0x0): multiple definition of `_BAD_IMAGE' main.o:main.c:(.rdata+0x0): first defined here collect2: ld returned 1 exit sta

Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

2008-02-01 Thread Terry Orechia
Hi, I was able to resolve this issue by switching the user who runs the sshd service. If anyone else is having this problem you can find detailed documentation on how to do get around this issue this at http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html. Thanks, Terry - Original Mes

Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

2008-02-01 Thread Larry Hall (Cygwin)
Terry Orechia wrote: Hi, I was able to resolve this issue by switching the user who runs the sshd service. If anyone else is having this problem you can find detailed documentation on how to do get around this issue this at http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html. Some word

Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

2008-02-01 Thread Terry Orechia
You should still be able to login as yourself and gain access to your network shares. I am able to login as myself without passwordless login and get access to my network shares. However, I am not able to login as myself using PASSWORDLESS login via public keys and have access to the network

Re: Section 508 Compliance

2008-02-01 Thread Andrew Schulman
> Can you please let us know if the latest version of Cygwin is compliant > with Section 508 of the Rehabilitation Act? Of what country? > If possible, please provide > us a completed Voluntary Product Accessibility Template (VPAT). If possible, please provide us ample payment. > Confidentialit

Section 508 Compliance

2008-02-01 Thread Heaney, Robin G
I checked the FAQ and did numerous searches both on your website and Google, but could not find any mention of Cygwin being section 508 compliant. Can you please let us know if the latest version of Cygwin is compliant with Section 508 of the Rehabilitation Act? If possible, please provide us a

Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

2008-02-01 Thread Larry Hall (Cygwin)
On 02/01/2008, Terry Orechia wrote: > You should still be able to login as yourself and gain access to > your network shares. I am able to login as myself without passwordless login and get access to my network shares. However, I am not able to login as myself using PASSWORDLESS login via pu

RE: Section 508 Compliance

2008-02-01 Thread Mr Webber
Let me start by declaring that I am not a lawyer; But: If the following is correct, CYGWIN does not qualify as an application nor is it an operating system and would (should) not be subject to Section 508. Cygwin is an environment emulator. -

Re: root and chown

2008-02-01 Thread Brian Dessent
"Robert W. Kuhn" wrote: > On my windows computer: > > [EMAIL PROTECTED]:grep root /etc/passwd > root::0:0:root:/root:/bin/bash > operator:*:12:0:operator:/root: > > [EMAIL PROTECTED]:chown root sshd/ > chown: changing ownership of `sshd': Invalid argument 'root' works differently in Window

RE: Section 508 Compliance

2008-02-01 Thread Mr Webber
Cygwin uses windows display libraries. So, it would seem that Windows usability or accessibility tools might work on the Cygwin Console or an X-Cygwin window. Have you tried any of them? I just tried the Magnifier and it works just fine. -Original Message- From: Heaney, Robin G [mailto:[

Problem compiling MPI examples under cygwin

2008-02-01 Thread madfran
Hi,... I have a probleme when I try to compile under cygwin. The program it an example from MPICH2. Following the advice of the people from MPICH2, I install MPICH2 under WinXP, change the PATH to add the new addres and,... nothing, cygwin is not able to find the include. Attached the test done.

Re: Problem compiling MPI examples under cygwin

2008-02-01 Thread Larry Hall (Cygwin)
madfran wrote: Hi,... I have a probleme when I try to compile under cygwin. The program it an example from MPICH2. Following the advice of the people from MPICH2, I install MPICH2 under WinXP, change the PATH to add the new addres and,... nothing, cygwin is not able to find the include. [EM

Re: Problem compiling MPI examples under cygwin

2008-02-01 Thread Matt Wozniski
On Feb 1, 2008 4:43 PM, madfran wrote: > Hi,... > > I have a probleme when I try to compile under cygwin. > The program it an example from MPICH2. > Following the advice of the people from MPICH2, I install MPICH2 under > WinXP, change the PATH to add the new addres and,... nothing, cygwin is > not

Re: Problem compiling MPI examples under cygwin

2008-02-01 Thread madfran
Sorry, but the problem it is not so easy to solve. If you read carrefully my original post, you realize that: >[EMAIL PROTECTED] /cygdrive/c/cygwin/tmp/mpi/mpich2-1.0.6p1/examples >$ which mpi.h /cygdrive/c/Program files/MPICH2/include/mpi.h That means which is able to find mpi.h >[EMAIL PROTEC

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-02-01 Thread Martin
Hello Rene! SOLVED! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHosts

Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging

2008-02-01 Thread René Berber
Martin wrote: SOLVED! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHo

CIFS symlinks on network share break Cygwin

2008-02-01 Thread Jonathan Lanier
OK, so, to resurrect this issue from... oh, about 1.5 years ago (see my post on Oct 22 2006)... :P Sorry for not getting back with more on this earlier, but I have been busy. Since it was going to be difficult to track down I ended up reverting to the older, working Cygwin. To quickly (re)summa