nanogui: Thread: flnx compile fail when LINK_APP_INTO_SERVER=Y


[<<] [<] Page 1 of 1 [>] [>>]
Subject: flnx compile fail when LINK_APP_INTO_SERVER=Y
From: "Ronnie Wang" ####@####.####
Date: 30 Jun 2004 03:20:37 +0100
Message-Id: <000701c45e48$f1c2d3b0$704912ac@cn.utstarcom.com>

Hello Everyone!
     For easy DEBUG I set this option: LINK_APP_INTO_SERVER=Y and the
Microwindows compile successfully
But the flnx failed. I get the following ERROR message:
....
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(devimage.o): In
function `LoadJPEG':
/home/ronnie/microwindows-0.90/src/engine/devimage.c:850: undefined
reference to `jpeg_std_error'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:853: undefined
reference to `jpeg_CreateDecompress'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:868: undefined
reference to
`jpeg_read_header'/home/ronnie/microwindows-0.90/src/engine/devimage.c:9
13: undefined
 ........
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(devimage.o): In
function `LoadTIFF':
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2568: undefined
reference to `TIFFOpen'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2572: undefined
reference to `TIFFGetField'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2573: undefined
reference to `TIFFGetField'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2591: undefined
reference to `TIFFReadRGBAImage'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2611: undefined
reference to `TIFFClose'
.......
/home/ronnie/microwindows-0.90/src/engine/font_freetype.c:655: undefined
reference to `TT_Set_Instance_Transform_Flags'
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make[1]: Leaving directory `/home/ronnie/flnx/fluid'
=== making test ===
make[1]: Entering directory `/home/ronnie/flnx/test'
g++  -g -I.. -O2 -Wall -Wno-return-type  -DNANO_X
-I/home/ronnie/microwindows-0.90/src/include
-DNANOXFOLDER='"/home/ronnie/microwindows-0.90/src/bin"' -DPDA
valuators.cxx -L../lib -lfltk -DNANO_X=1 -L/usr/local/lib
-L/usr/X11R6/lib -lX11  -L/home/ronnie/microwindows-0.90/src/lib
-lnano-X -lmwengine -lmwdrivers -lmwfonts -lmwimages -lm -o valuators
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(devimage.o): In
function `LoadJPEG':
..............
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2573: undefined
reference to `TIFFGetField'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2591: undefined
reference to `TIFFReadRGBAImage'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2611: undefined
reference to `TIFFClose'
/home/ronnie/microwindows-0.90/src/engine/devimage.c:2617: undefined
reference to `TIFFClose'
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(devimage.o): In
function `resync_to_restart':
/home/ronnie/microwindows-0.90/src/engine/devimage.c:809: undefined
reference to `jpeg_resync_to_restart'
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(font_freetype.o):
In function `freetype_createfont':
/home/ronnie/microwindows-0.90/src/engine/font_freetype.c:131: undefined
reference to `TT_Open_Face'
.......
/home/ronnie/microwindows-0.90/src/engine/font_freetype.c:92: undefined
reference to `TT_Init_Kerning_Extension'
/home/ronnie/microwindows-0.90/src/lib/libmwengine.a(font_freetype.o):
In function `freetype_destroyfont':
.............
collect2: ld returned 1 exit status
make[1]: *** [valuators] Error 1
make[1]: Leaving directory `/home/ronnie/flnx/test'
make: *** [all] Error 2
 
I think whether I select the options  TIFF and FREETYPE  deduce the
failure and then I cancel the two options and compile again and  get the
same ERROR massage.
 
Subject: Re: [nanogui] flnx compile fail when LINK_APP_INTO_SERVER=Y
From: "Greg Haerr" ####@####.####
Date: 30 Jun 2004 12:39:19 +0100
Message-Id: <040301c45e94$a707e620$0903a8c0@censoft.com>

> /home/ronnie/microwindows-0.90/src/engine/devimage.c:850: undefined
> reference to `jpeg_std_error'
> reference to `TIFFOpen'
> reference to `TT_Set_Instance_Transform_Flags'

These linker errors indicate that the JPEG, TIFF and TT
libraries are not set properly in the config file.

Regards,

Greg


Subject: 答复: [nanogui] flnx compile fail when LINK_APP_INTO_SERVER=Y
From: "Ronnie Wang" ####@####.####
Date: 30 Jun 2004 15:16:28 +0100
Message-Id: <002d01c45eac$f1fca9f0$704912ac@cn.utstarcom.com>

Dear Greg!
  Thanks for your reply!!
  But I compile the Microwindows-0.90 successfully with these config
options.

-----邮件原件-----
发件人: Greg Haerr ####@####.#### 
发送时间: 2004年6月30日 19:23
收件人: Ronnie Wang; ####@####.####
主题: Re: [nanogui] flnx compile fail when LINK_APP_INTO_SERVER=Y

> /home/ronnie/microwindows-0.90/src/engine/devimage.c:850: undefined
> reference to `jpeg_std_error'
> reference to `TIFFOpen'
> reference to `TT_Set_Instance_Transform_Flags'

These linker errors indicate that the JPEG, TIFF and TT
libraries are not set properly in the config file.

Regards,

Greg



---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.