Re: Trouble with the g++ compiler

2006-10-12 Thread Brian Dessent
-Patrick wrote:

> It appears the cygwin version is significantly different as I get an
> error while compiling C++ code that Ive used an overloaded function and Im
> certain I am not. My school's server that appears to run the correct
> version does not produced this error upon compilation.
>
> How do fix it?
> 
> School version:
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
> 
> Cygwin's version:
> gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

You've posted to the xfree list which is a mailing list for using X11
applications with Cygwin.  This has nothing to do with gcc or C++, so
it's off-topic here.  A better place would be the main Cygwin list
(cygwin at cygwin dot com) or the gcc help list (gcc-help at gcc dot gnu
dot org).  I've CCd the former.

You've not provided nearly enough information for anyone to be able to
help you.  "I get an error while compiling C++" code is not specific
enough.  Copy and paste the *exact* command you use to compile as well
as the *exact* error message that results.  Show the code in question,
if possible simplifying it down to a testcase that demonstrates the
problem as minimally as possible.  Without this level of detail, or
barring the invention of mind reading technology, nobody will have
enough to go on.

I also urge you to thoroughly read
 which seems to cover 99% of the
problems people encounter when dealing with C++ errors and gotchas.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin X fails to start

2006-10-12 Thread Larry Hall (Cygwin X)

On 10/12/2006, mgoh wrote:
I had this problem as well. Oddly, I had a mount of 
/usr/X11R6/lib/X11/fonts that was a "user" mount in textmode -- and I 
cound't use "umount" to remove it (it would complain about invalid path, or 
something). I searched the registry for the mount, but didn't find it (I 
found all the others). To fix the problem, I first quit any running cygwin 
programs, then from a CMD shell, I mounted another user mount over the top 
of the old one, which I was THEN able to umount. After THAT, I remounted 
/usr/X11R6/lib/X11/fonts in binmode (system mount), THEN I reinstalled all 
the fonts (as mentioned here: 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof). THAT, 
FINALLY fixed my problem. This all started when I ran the cygwin setup 
program to update various versions of things (that's what killed it). I was 
suprised that not more people had reported this, as I'm running a pretty 
stock install.


See the '-f' flag for 'mount'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Trouble with the g++ compiler

2006-10-12 Thread -Patrick
It appears the cygwin version is significantly different as I get an 
error while compiling C++ code that Ive used an overloaded function and Im 
certain I am not. My school's server that appears to run the correct 
version does not produced this error upon compilation. 

How do fix it? 


School version:
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

Cygwin's version: 
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)


Thanks


--

-Patrick

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Help to compile Cygwin X

2006-10-12 Thread Charli Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gadi Shavit just had to cough out the following stream of bytes from the
specified email client, on 10/12/2006 3:42 AM:
> Hi,
>  
> I am trying to build Cygwin X version 6.8 for Windows XP
> First message I get when running make World is: 
> 
> I hope you checked the configuration parameters in ./config/cf
> to see if you need to pass BOOTSTRAPCFLAGS. 
> 
> It is not clear to me what exactly I need set in ./config/cf 
> Are there any specific instruction what needs to be configured there?
> 
> When the build process continues I get an error message saying the directory 
> programs/xrx does not exist. Where can I find this directory in the Cygwin 
> tree?
> 
> Can you help?
>  

First of all, you are supposed to be using imake, not make.  This has
been mentioned in previous thread(s) on this list.

- --
Charli
- ---
"You're like *this*, but then you're like *this*!"

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLqw6KGyf4JaPChgRAvq+AKChTLbLU/Z+RtC3+vfs/oiw27OOagCgmMxk
naSSMOrHz9shhDOusBhFjPc=
=l2Xs
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cygwin X fails to start

2006-10-12 Thread mgoh

I had this problem as well.  Oddly, I had a mount of /usr/X11R6/lib/X11/fonts
that was a "user"
mount in textmode -- and I cound't use "umount" to remove it (it would
complain about
invalid path, or something).  I searched the registry for the mount, but
didn't find it (I found
all the others).  To fix the problem, I first quit any running cygwin
programs, then from a CMD
shell, I mounted another user mount over the top of the old one, which I was
THEN able to
umount.  After THAT, I remounted /usr/X11R6/lib/X11/fonts in binmode (system
mount), THEN I reinstalled
all the fonts (as mentioned here: 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof).

THAT, FINALLY fixed my problem.

This all started when I ran the cygwin setup program to update various
versions of things
(that's what killed it).

I was suprised that not more people had reported this, as I'm running a
pretty stock install.

- Matt Goheen


Michael A. LaBrot wrote:
> 
> I, too, experienced the "could not open default font 'fixed'" problem 
> and the FAQ did not help me either. I was able to run X after changing 
> the Cygwin "Default Text File Type" from "DOS/text" to "Unix/binary" 
> during setup. Consider this a bug report.
> 
> __
> "Javier Delgadillo" wrote:
> All,
> 
> I've been trying to install Cygwin X on a Win XP machine for the last 2
> days and can't get it to work.  I've done google searches for possible
> solutions but the posts I've found seem outdated and no longer apply.
> 
> This appears to be a problem with the "could not open default font
> 'fixed'" error message.  All of the posts I've seen regarding this imply
> there is a problem with the mounts, but I've got 2 other installs here
> that do not mount the /usr/X11R6/lib/X11/fonts directory.  So I'm not 
> sure if those errors still apply.
> 
> I'm not sure what to try next as the instructions here
> http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof don't 
> seem to solve the problem for me.
> 
> Any help would be greatly appreciated.
> 
> [stuff trimmed]
> 
> Fatal server error:
> could not open default font 'fixed'
> 
> 
> -- 
> Javier Delgadillo
> javi at javidel.org
> http://javidel.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-Cygwin-X-fails-to-start-tf2228903.html#a6782673
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Help to run Cygwin X

2006-10-12 Thread Lionel B

Gadi Shavit wrote:


Hi,
 
I installed Cygwin with X and I am trying to run XWin on an XP Professional.

I am getting the following failure (from XWin.log):
 
/.../
 
Fatal server error:

could not open default font 'fixed'


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

--
Lionel B


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Weird Dialog Problem

2006-10-12 Thread Shane Larsen


Sorry that I don't have a solution to your problem, but I have the same problem
if it makes you feel any better. I also recently switched from exceed to cygwin
in order to run Gambit and I have the same annoying problem with the dialogs. If
you ever do find anything out about it, please let me know too.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Help to compile Cygwin X

2006-10-12 Thread Gadi Shavit
Hi,
 
I am trying to build Cygwin X version 6.8 for Windows XP
First message I get when running make World is: 

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS. 

It is not clear to me what exactly I need set in ./config/cf 
Are there any specific instruction what needs to be configured there?

When the build process continues I get an error message saying the directory 
programs/xrx does not exist. Where can I find this directory in the Cygwin tree?

Can you help?
 
Thank you,
    Gadi 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Help to run Cygwin X

2006-10-12 Thread Gadi Shavit


Hi,
 
I installed Cygwin with X and I am trying to run XWin on an XP Professional.
I am getting the following failure (from XWin.log):
 
(WW) /tmp mounted int textmode
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0409" (0409) 
(--) Using preset keyboard for "English (USA)" (409), type "4"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!
 
Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress
 
Can you help?
 
Thank you,
    Gadi 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/