g++ 3.4.1
I just tried upgrading from g++ 3.3.1 (which currently gives me an "internal compiler error" on my code) to the 3.4.1 version available from the Cygwin setup. After doing so, however, I get a flood of error messages about the many templates I have (such as "template-id xxx for yyy does not match any template declaration" and several other). Should I start to adapt my code to gcc 3.4.1, or would it be safer to wait until it is available as default from the setup? Is it likely that the error messages I get is due to the Cygwin port, or would it be g++ itself? / martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sshd login problems
I'm having trouble setting up correct user and group permissions for logging on to a computer using ssh. I have installed sshd and cygrunsrv, and I believe that the server itself is running properly. I start it with "cygrunsrv -S sshd". However, when trying to logon from a remote (Linux) computer, I get: ~ ssh -l remote-user xxx.xxx.xxx.xxx [EMAIL PROTECTED]'s password: Last login: Tue Nov 2 10:35:21 2004 from yyy setgid: Invalid argument Connection to xxx.xxx.xxx.xxx closed. I use Windows XP on the host machine, and I have created a new user account, with a password, for this purpose. I'm guessing that the error lies somewhere in /etc/passwd and /etc/group. The line corresponding to the remote user in /etc/passwd looks like this: remote-user:unused_by_nt/2000/xp:1008:513:remote-user,U-LATERALUS\remote-user,S-1-5-21-1547161642-343818398-725345543-1008:/home/martin:/bin/bash (I hope there's no risk posting the contents of the passwd file here...) My /etc/group looks like this: root:S-1-5-32-544:0: SYSTEM:S-1-5-18:18: What can I do? / martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Macros "major" and "minor"
I recently ran into problems when compiling a matrix library containing a function called "minor". Apparently, the file /usr/include/sys/sysmacros.h has the following definitions: #ifdef __CYGWIN_USE_BIG_TYPES__ #define major(dev) ((int)(((dev) >> 16) & 0x)) #define minor(dev) ((int)((dev) & 0x)) #define makedev(major, minor) (((major) << 16) | ((minor) & 0x)) #else #define major(dev) ((int)(((dev) >> 8) & 0xff)) #define minor(dev) ((int)((dev) & 0xff)) #define makedev(major, minor) (((major) << 8) | ((minor) & 0xff)) #endif Defining macros with names like "major" and "minor" is really not good, IMO. This should probably be changed, if possible. / martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: PATH and HOME in cygwin
David Fay wrote: I am trying to set my PATH and HOME in cygwin. Under the /etc/profile file it says to change the bashrc.bash file and I have amended this but still no change. I also see there is a .bash_profile file in both the /etc/defaults/etc/skel and /etc/skel. I originally thought that this is the file I would amend but I expected this to be in my home directory. Any suggestions? Try editing ~/.bashrc instead. That file should be loaded when bash is started, and that can be used to set the PATH. If you are using Win2000 or XP, other environment variables, such as HOME, can be set under the Advanced tab in Control Panel / System Properties. / martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup hangs repetedly
Max Bowsher wrote: > Does it hang in the middle of installing a package, or between > packages? It varies. Now I have actually managed to install the basic Cygwin packages (everything set to default, no compilers or anything). It worked on the second attempt. But I'm still struggling, trying to add gcc and such (from my local directory). After I installed the basics I ran setup-2.303 again, and only checked the Devel category. The first time it hung when starting to install doxygen, and the second time it hung in the middle of /usr/.../texinfo.tex. > Does the MD5sum check go OK? Yes, all of the MD5sum checks go OK. I also just scanned my hard drives again (including the free space) with NDD, and it didn't report any problems. / Martin -- 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: Setup hangs repetedly
Pavel Tsekov wrote: Now this is a hell of a bugreport... Would you care to be more specific ? What choices do you make on the various pages of the setup wizard. * First, either Install from Internet or Install from Local Directory. * Then I specify the root directory (same as I used to have when it worked), Install For All Users, Default Text File Type: Unix. * At "Select You Internet Connection" I choose Direct Connection. I usually download from ftp.sunet.se, but I have tried a couple of other servers too. * At "Select Packages", I leave everythnig as Default, except the Devel category, the Publishing category and Graphics/OpenGL, where I choose Install. What does it mean "hang" for you ? Is it that the setup application just sits and waits for a very long time without progressing at all Exactly. It is not unresponsive though. I can still cancel it gracefully, but it doesn't do anything. I have left it on for an hour after it seems to hang, just to confirm that it isn't just progressing slowly. I did scan my hard drives (as suggested by L Anderson) with Norton Disk Doctor a couple of days ago, but I'm doing it again now. I'll post again if that fixes the problem. / Martin -- 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: Setup hangs repetedly
Max Bowsher wrote: Please describe exactly where setup hangs. It happens after download, during install. But it hangs at different files each time. Somtimes it hangs at 4%, sometimes at 29% etc. Does it hang if you download only first, and then re-run setup, choosing "install from local directory"? Yes, same problem when I do it that way. / Martin -- 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/
Setup hangs repetedly
I have used Cygwin for a few months now. I'm trying to reinstall it with a couple of extra packages, but I've run into serious trouble. Downloading seems to work fine, but while installing setup just hangs, randomly (with no error message). When looking at setup.log I see a lot of calls to compress_bz::error. Is that normal? I included the tail of setup.log below. I've tried both the setup.exe on the web site and setup-2.303.exe. I'm trying to install with the default settings, but with all Devel and Publishing packages, and OpenGL. 2003/02/01 13:20:01 Installing file://D:\temp\cygwin/ftp%3a%2f%2fftp.sunet.se%2fpub%2flang%2fcygwin/release/gcc-mingw/gcc-mingw-20020817-5.tar.bz2 2003/02/01 13:20:01 compress_bz::error called 2003/02/01 13:20:02 Installing file://D:\temp\cygwin/ftp%3a%2f%2fftp.sunet.se%2fpub%2flang%2fcygwin/release/gcc2/gcc2-2.95.3-10.tar.bz2 2003/02/01 13:20:02 compress_bz::error called 2003/02/01 13:23:53 Ending cygwin install / Martin -- 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/