nanogui: Basics: LINK_APP_TO_SERVER


Previous by date: 28 Oct 2004 07:59:00 +0100 Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER, Lars Törnkvist
Next by date: 28 Oct 2004 07:59:00 +0100 Build viewml with gcc3.x problem, tian tao
Previous in thread: 28 Oct 2004 07:59:00 +0100 Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER, Lars Törnkvist
Next in thread: 28 Oct 2004 07:59:00 +0100 Re: Basics: LINK_APP_TO_SERVER, Greg Haerr

Subject: Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER
From: Lars ####@####.####
Date: 28 Oct 2004 07:59:00 +0100
Message-Id: <001901c4bcbb$89a53b70$3d0aa8c0@Lasse>

Well, the problem is that I don't get an executable to launch when I have
LINK_APP_TO_SERVER = Y. What happens is that the linker spews out a lot of
"undefined reference" errors. It looks something like this:

----------------------------------------------------------------------------
-----
gcc winlayout3.c -I/usr/include/microwin -L/usr/lib -lnano-X -o winlayout3

/usr/lib/libnano-X.a(srvmain.o)(.text+0xf6): In function `GsSelect':

/home/lars/microwin/microwindows-0.90/src/nanox/srvmain.c:545: undefined
reference to `GdGetNextTimeout'
/usr/lib/libnano-X.a(srvmain.o)(.text+0x212):/home/lars/microwin/microwindow
s-0.90/src/nanox/srvmain.c:622: undefined reference to `GdError'
/usr/lib/libnano-X.a(srvmain.o)(.text+0x21c):/home/lars/microwin/microwindow
s-0.90/src/nanox/srvmain.c:607: undefined reference to `GdTimeout'
/usr/lib/libnano-X.a(srvmain.o)(.text+0x4eb): In function `GsInitialize':

/home/lars/microwin/microwindows-0.90/src/nanox/srvmain.c:824: undefined
reference to `GdOpenKeyboard'
/usr/lib/libnano-X.a(srvmain.o)(.text+0x4ff):/home/lars/microwin/microwindow
s-0.90/src/nanox/srvmain.c:831: undefined reference to `GdOpenScreen'
/usr/lib/libnano-X.a(srvmain.o)(.text+0x518):/home/lars/microwin/microwindow
s-0.90/src/nanox/srvmain.c:838: undefined reference to `GdSetPortraitMode'

...... (and the list goes on and on)
----------------------------------------------------------------------------
--

I suppose there is something else to set up before rebuilding microwindows
and/or something else to set up before rebuilding the application.

Many thanks in advance for any help on this.

Regards
/ Lasse T.

----- Original Message ----- 
From: "zeng_pengcheng" ####@####.####

> nothing.
>
> just launch the executable without nano-X server.
>
>
>
>   --------- Original Message --------
>   From: "Lars T?rnkvist" ####@####.####
>   To: ####@####.#### ####@####.####
>   Subject: Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER
>   Date: 04/10/27 22:21
>
>   Hi,
>
>   I have exactly the same problem. With LINK_APP_TO_SERVER = N everything
>   works fine. Besides setting this to Y, what else must be done to make it
>   work?
>
>   Regards
>   / Lasse T.
>
>   ----- Original Message ----- 
>   From: "JF Bertrand" ####@####.####
>   To: ####@####.####
>   Sent: Tuesday, October 26, 2004 10:46 PM
>   Subject: Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER
>
>
>   > When I compile the server with this option, I get unknown methods when
>   > trying to link with the nano-X library.
>   >
>   > Sorry for the newbie question.
>   >
>   > JF
>   >
>   >


Previous by date: 28 Oct 2004 07:59:00 +0100 Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER, Lars Törnkvist
Next by date: 28 Oct 2004 07:59:00 +0100 Build viewml with gcc3.x problem, tian tao
Previous in thread: 28 Oct 2004 07:59:00 +0100 Re: [nanogui] Re: Basics: LINK_APP_TO_SERVER, Lars Törnkvist
Next in thread: 28 Oct 2004 07:59:00 +0100 Re: Basics: LINK_APP_TO_SERVER, Greg Haerr


Powered by ezmlm-browse 0.20.