RE: Cannot start X
Harold, THANKS! That was the cause of my problems. There was a copy under WINNT :-( X is working now. Martin. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Harold L Hunt II Sent: Saturday, October 26, 2002 07:52 To: [EMAIL PROTECTED] Subject: Re: Cannot start X Martin, You need to search your computer for ``cygwin1.dll'' and remove any copies that are not in your Cygwin directory. You must search *all directories* on your computer for cygwin1.dll. The following FAQ entry gives a little additional information on the problem: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta tus-access-violation Harold Martin Rausche wrote: The question is where do I get a current one and where do I have to replace it. Cygwin setup doesn't seem to update this file, because I have all current versions installed via setup. Can I replace that file manually? Can I download it as a single file from somewhere? TIA, Martin. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Sylvain Petreolle Sent: Saturday, October 26, 2002 02:13 To: [EMAIL PROTECTED] Subject: Re: Cannot start X you must have an old copy of cygwin1.dll in your system. --- Martin Rausche [EMAIL PROTECTED] a écrit : Hello everyone, I guess this is a common question, but the FAQ didn't help. When I say startx in the shell, I get a Windows error message, which is titled xinit.exe - Entry Point Not Found and the according message says The procedure entry point getpwnam_r could not be located in the dynamic link library cygwin1.dll. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Re: Cannot start X
Martin, Glad I could help. It was actually Sylvain Petreolle that answered your question... I just helped you understand what that answer meant. :) Harold Martin Rausche wrote: Harold, THANKS! That was the cause of my problems. There was a copy under WINNT :-( X is working now. Martin. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Harold L Hunt II Sent: Saturday, October 26, 2002 07:52 To: [EMAIL PROTECTED] Subject: Re: Cannot start X Martin, You need to search your computer for ``cygwin1.dll'' and remove any copies that are not in your Cygwin directory. You must search *all directories* on your computer for cygwin1.dll. The following FAQ entry gives a little additional information on the problem: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta tus-access-violation Harold Martin Rausche wrote: The question is where do I get a current one and where do I have to replace it. Cygwin setup doesn't seem to update this file, because I have all current versions installed via setup. Can I replace that file manually? Can I download it as a single file from somewhere? TIA, Martin. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree-owner;cygwin.com]On Behalf Of Sylvain Petreolle Sent: Saturday, October 26, 2002 02:13 To: [EMAIL PROTECTED] Subject: Re: Cannot start X you must have an old copy of cygwin1.dll in your system. --- Martin Rausche [EMAIL PROTECTED] a écrit : Hello everyone, I guess this is a common question, but the FAQ didn't help. When I say startx in the shell, I get a Windows error message, which is titled xinit.exe - Entry Point Not Found and the according message says The procedure entry point getpwnam_r could not be located in the dynamic link library cygwin1.dll. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Ported X11 soft from Solaris
Hi, I use cygwin/xfree under XP and I attempt to port a graphic application which runs under Solaris 7. The beginning of my makefile is : CC = gcc COPT= -O -c -g -Wall LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ LDFLAGS = -L/usr/X11R6/lib -L/usr/lib The adresses of the include files and the libraries is correct for my installation. Under Solaris, I don't need the SM and Xpm library. I added it under cygwin because of the following messages. My 2 problems is shown by the following make. The first problem is a warning but I don't understand it. The second is a problem of unreseolved references but I don't find the correction. in advance, thanks for your help mb $ make gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ gestion_scores.c cc1: warning: changing search order for system directory /usr/include cc1: warning: as it has already been specified as a non-system directory gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `_XpmReadFileToPixmap' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined reference to `_SmcCloseConnection' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined reference to `_SmcModifyCallbacks' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined reference to `_SmcClientID' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined reference to `_SmcOpenConnection
Re: Ported X11 soft from Solaris
Hi Max, Max Buvry [EMAIL PROTECTED] writes: LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq Don't specify the C runtime libraries, they are implied and adding them here can only do harm. IOW drop -lm -lc. CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ Same with C runtime header directories. Drop -I/usr/include. [. . .] $ make gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ gestion_scores.c cc1: warning: changing search order for system directory /usr/include cc1: warning: as it has already been specified as a non-system directory The compiler is irritated because you specified the redundant -I/usr/include in your CFLAGS above. gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq The next warnings are because the linker examines the libraries from left to right *once* only, therefore the order of your -l options matters. /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `_XpmReadFileToPixmap' Says that libXaw.a reference a symbol that is probably in libXpm.a. So you need to have -lXaw *before* -lXpm. /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined reference to `_SmcCloseConnection' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined reference to `_SmcModifyCallbacks' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined reference to `_SmcClientID' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined reference to `_SmcOpenConnection Similar problems with -lXt and -lSM, I guess. so long, benny
Re: [ANNOUNCEMENT] Server Test 68
Rootless mode initialize in CreateWindow, and clean up in DestroyWindow. But DestroyWindow is seldom called(I don't know why), so we can't delete HRGN and resource leaks. In XDarwin, it seems that they use RootlessRealizeWindow/RootlessUnrealizeWindow. We will need to move code to winMapWindowPRootless/winUnmapWindowPRootless. Kensuke Matsuzaki