This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

questions on DISPLAY and libX11.a


Question 1:

Hi, I'm using Windows 2000 Server os and have been trying to correctly set
the DISPLAY environment
variable, but not matter what I do, things like xterm.exe will complain
can't open display: blah blah

so i've tried making the DISPLAY environment variable:
myipaddress:0.0
myipaddress:0
:0
:0.0
host name:0.0
host name:0

I am unsure if the problem is because of the DISPLAY variable being
incorrectly set of if Win2k has preventative security issues.
I've run ipconfig.exe /all and get: (for security purposes, I've put x's in
place of the actual numbers and changed names)

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : cowpc
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : somecompany.com
                                            somecompany2.com

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : 3Com Fast EtherLink XL PCI
Server Adapter (3C9
80-TX)
        Physical Address. . . . . . . . . : 00-50-04-24-F6-70
        DHCP Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : xx.x.xxx.xx
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : xx.x.x.x
        DNS Servers . . . . . . . . . . . : xxx.xxx.xx.x
                                            xxx.xxx.xx.x

Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Cable Disconnected
        Description . . . . . . . . . . . : 3Com EtherLink III ISA (3C509b-TPO)
        Physical Address. . . . . . . . . : 00-60-97-BF-54-54

Can somebody help me?

--------------------------------------------
Question 2:

Also, for libX11.a, can it be linked with the Microsoft C++ 6.0 compiler or
was it only made for g++?
If I try to do it with the Microsoft compiler, I get:

libX11.a(ds00367.o) : warning LNK4078: multiple ".text" sections found with
different attributes (E0000020)
libX11.a(ds00367.o) : warning LNK4078: multiple ".bss" sections found with
different attributes (C0000000)

and it gets an access violation before even getting into the main()
function at all if I had code that makes
calls to fundamental functions such as XFlush or XOpenDisplay in an include
somewhere.


-Alan Wong - Software Engineer
Sony Computer Entertainment America
10075 Barnes Canyon Road
San Diego, CA 92121-2723
(858) 824-5883
(858) 824-5878 - FAX

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]