RE: [Pixil-devel] Compile in cygwin + gcc 3.4.4
"Green Wan" <[email protected]> Mon, 29 May 2006 11:45:19 +0800
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1408158706== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C682D2.4F17C8B1" This is a multi-part message in MIME format. ------_=_NextPart_001_01C682D2.4F17C8B1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Greg, =20 Thanks for your reply. I've fixed the C++ compiler's part. But some functions still can't be linked after I followed the instruction in ./pixil-1.2.3/src/docs/README.microwindows and README.pixilDT. I left the message below. Do you know where these function should be included? Libfltk.a? or other library? I think if I add correct library into Makefile. This message should not appear anymore. =20 Best regards, Green =20 make[1]: Entering directory `/usr/src/Pixil/pixil-1.2.3/libs' make[2]: Entering directory `/usr/src/Pixil/pixil-1.2.3/libs/flek/src' gcc -Wl,-soname,`basename libflek.so` -shared -o libflek.so FDate.o FSocket.o FFile.o FVector.o FImage.o FSGI.o FPNM.o Fl_App_Window.o Fl_Better_Window.o Fl_Calendar.o Fl_Dockable_Window.o Fl_Stock.o Fl_Toggle_Node_Base.o Fl_Toggle_Node.o Fl_Toggle_Tree_Base.o Fl_Toggle_Tree.o Flv_CStyle.o Flv_Style.o Flv_List.o Flv_Table.o Flve_Check_Button.o Flve_Input.o Flve_Combo.o Fl_Time.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a /usr/src/fltk-1.0.11/lib/libfltk.a Fl_App_Window.o:Fl_App_Window.cxx:(.text+0xa11): undefined reference to `fl_clip_region(int)' Fl_App_Window.o:Fl_App_Window.cxx:(.rdata$_ZTV13Fl_App_Window[vtable for Fl_App_Window]+0x20): undefined reference to `Fl_Window::resize_notify(int, int, int, int)' Fl_Better_Window.o:Fl_Better_Window.cxx:(.text+0x1a): undefined reference to `_GrGetWindowInfo' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x1fb): undefined reference to `NxApp::GlobalColor(NxApp_Color)' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x23d): undefined reference to `NxApp::GlobalColor(NxApp_Color)' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x27f): undefined reference to `NxApp::GlobalColor(NxApp_Color)' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x39c): undefined reference to `NxApp::GlobalColor(NxApp_Color)' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x3d6): undefined reference to `NxApp::GlobalColor(NxApp_Color)' Fl_Calendar.o:Fl_Calendar.cxx:(.text+0x410): more undefined references to `NxApp::GlobalColor(NxApp_Color)' follow ...... /usr/src/fltk-1.0.11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x6 de): undefined reference to `_XFillPolygon' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x7 db): undefined reference to `_XFillPolygon' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x8 7b): undefined reference to `_XFillArc' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x8 f1): undefined reference to `_XDrawArc' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(. text+0xea0): undefined reference to `_XPutImage' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(. text+0x1051): undefined reference to `_XPutImage' /usr/src/fltk-1.0.11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(. text+0x11af): undefined reference to `_XListPixmapFormats' collect2: ld returned 1 exit status make[2]: *** [libflek.so] Error 1 make[2]: Leaving directory `/usr/src/Pixil/pixil-1.2.3/libs/flek/src' make[1]: *** [_subdir_flek/src] Error 2 make[1]: Leaving directory `/usr/src/Pixil/pixil-1.2.3/libs' make: *** [_subdir_libs] Error 2 ________________________________ From: Greg Haerr [mailto:[email protected]]=20 Sent: Monday, May 29, 2006 8:37 AM To: Green Wan; [email protected] Subject: Re: [Pixil-devel] Compile in cygwin + gcc 3.4.4 =20 Hope this helps... : =20 a & b: we've only tested the PIXIL build with the older versions of the C++ compiler documented in the docs/ directory. What version are you running? There are strange build problems with later versions of the compiler. =20 c. We suggest using the older version of the FLTK library as documented in the build/doc instructions. This is why we included the FLEK source in the tree. =20 Regards, =20 Greg ----- Original Message -----=20 From: Green Wan <mailto:[email protected]> =20 To: [email protected]=20 Sent: Friday, May 26, 2006 4:07 AM Subject: [Pixil-devel] Compile in cygwin + gcc 3.4.4 =20 Hi, =20 I am try to build Pixil-1.2.3.tar.gz on my cygwin system. I've run nano-x on it successfully. The following is my setting and compiling error. =20 --------< Setting of config in directory, pixil-1.2.3. >--------- a. MW_PREFIX=3D"/usr/src/Pixil/microwindows-0.90/src" b. CONFIG_PIXILDT=3Dy c. CONFIG_PIXILDT_FLTKDIR=3D"/usr/src/fltk-1.1.7" =20 -------< Compile error after typing "make">------------------ a. The first part is like that can't link C++ library. =20 make[1]: Entering directory `/usr/src/pixil-1.2.3/libs' make[2]: Entering directory `/usr/src/pixil-1.2.3/libs/flek/src' gcc -Wl,-soname,`basename libflek.so` -shared -o libflek.so FDate.o FSocket.o FFile.o FVector.o FImage.o FSGI.o FPNM.o Fl_App_Window.o Fl_Better_Window.o Fl_Calendar.o Fl_Dockable_Window.o Fl_Stock.o Fl_Toggle_Node_Base.o Fl_Toggle_Node.o Fl_Toggle_Tree_Base.o Fl_Toggle_Tree.o Flv_CStyle.o Flv_Style.o Flv_List.o Flv_Table.o Flve_Check_Button.o Flve_Input.o Flve_Combo.o Fl_Time.o FDate.o:FDate.cxx:(.text+0x952): undefined reference to `operator new(unsigned int)' FDate.o:FDate.cxx:(.text+0x17dc): undefined reference to `std::ios_base::Init::Init()' FDate.o:FDate.cxx:(.text+0x17f8): undefined reference to `std::ios_base::Init::~Init()' =20 =20 b. the second part is like that can't link with FLTK library, is it? =20 Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x1f): undefined reference to `Fl_Window::~Fl_Window()' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x4f): undefined reference to `Fl_Window::~Fl_Window()' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x7f): undefined reference to `Fl_Window::~Fl_Window()' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0xb0): undefined reference to `___gxx_personality_sj0' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x103): undefined reference to `operator new(unsigned int)' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x136): undefined reference to `Fl_Pack::Fl_Pack(int, int, int, int, char const*)' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x162): undefined reference to `operator new(unsigned int)' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x195): undefined reference to `Fl_Window::Fl_Window(int, int, int, int, char const*)' Fl_App_Window.o:Fl_App_Window.cxx:(.text+0x1cb): undefined reference to `operator delete(void*)' =20 Could anyone help me out? =3DD =20 Best regards, Green =09 ________________________________ _______________________________________________ Pixil-devel mailing list [email protected] http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel ------_=_NextPart_001_01C682D2.4F17C8B1 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:PMingLiU; panose-1:2 2 3 0 0 0 0 0 0 0;} @font-face {font-family:PMingLiU; panose-1:2 2 3 0 0 0 0 0 0 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; layout-grid:18.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body bgcolor=3Dwhite lang=3DZH-TW link=3Dblue vlink=3Dpurple = style=3D'text-justify-trim: punctuation'> <div class=3DSection1 style=3D'layout-grid:18.0pt'> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Hi = Greg,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Thanks for your = reply. I’ve fixed the C++ compiler’s part. But some functions still = can’t be linked after I followed the instruction in = ./pixil-1.2.3/src/docs/README.microwindows and README.pixilDT. I left the message below. Do you know where these = function should be included? Libfltk.a? or other library? I think if I add = correct library into Makefile. This message should not appear = anymore.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Best = regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Green<o:p></o:p></= span></font></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:solid = windowtext 1.0pt; padding:0cm 0cm 1.0pt 0cm'> <p class=3DMsoNormal style=3D'border:none;padding:0cm'><font size=3D1 = color=3Dnavy face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial; color:navy'><o:p> </o:p></span></font></p> </div> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[1]: Entering directory `/usr/src/Pixil/pixil-1.2.3/libs'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[2]: Entering directory = `/usr/src/Pixil/pixil-1.2.3/libs/flek/src'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>gcc = -Wl,-soname,`basename libflek.so` -shared -o libflek.so FDate.o FSocket.o FFile.o FVector.o = FImage.o FSGI.o FPNM.o Fl_App_Window.o Fl_Better_Window.o Fl_Calendar.o Fl_Dockable_Window.o Fl_Stock.o Fl_Toggle_Node_Base.o Fl_Toggle_Node.o Fl_Toggle_Tree_Base.o Fl_Toggle_Tree.o Flv_CStyle.o Flv_Style.o = Flv_List.o Flv_Table.o Flve_Check_Button.o Flve_Input.o Flve_Combo.o Fl_Time.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a /usr/src/fltk-1.0.11/lib/libfltk.a<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_App_Window.o:Fl= _App_Window.cxx:(.text+0xa11): undefined reference to = `fl_clip_region(int)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_App_Window.o:Fl= _App_Window.cxx:(.rdata$_ZTV13Fl_App_Window[vtable for Fl_App_Window]+0x20): undefined reference to = `Fl_Window::resize_notify(int, int, int, int)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Better_Window.o= :Fl_Better_Window.cxx:(.text+0x1a): undefined reference to `_GrGetWindowInfo'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x1fb): undefined reference to = `NxApp::GlobalColor(NxApp_Color)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x23d): undefined reference to = `NxApp::GlobalColor(NxApp_Color)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x27f): undefined reference to = `NxApp::GlobalColor(NxApp_Color)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x39c): undefined reference to = `NxApp::GlobalColor(NxApp_Color)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x3d6): undefined reference to = `NxApp::GlobalColor(NxApp_Color)'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>Fl_Calendar.o:Fl_C= alendar.cxx:(.text+0x410): more undefined references to `NxApp::GlobalColor(NxApp_Color)' = follow<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>……<o:p= ></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x6de): undefined reference to `_XFillPolygon'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x7db): undefined reference to `_XFillPolygon'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x87b): undefined reference to `_XFillArc'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_vertex.o):fl_vertex.cxx:(.text+0x8f1): undefined reference to `_XDrawArc'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(.text+0xea0): undefined reference to `_XPutImage'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(.text+0x1051): undefined reference to `_XPutImage'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>/usr/src/fltk-1.0.= 11/lib/libfltk.a(fl_draw_image.o):fl_draw_image.cxx:(.text+0x11af): undefined reference to = `_XListPixmapFormats'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>collect2: ld = returned 1 exit status<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[2]: *** = [libflek.so] Error 1<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[2]: Leaving = directory `/usr/src/Pixil/pixil-1.2.3/libs/flek/src'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[1]: *** [_subdir_flek/src] Error 2<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make[1]: Leaving = directory `/usr/src/Pixil/pixil-1.2.3/libs'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 color=3Dnavy face=3DArial><span = lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial;color:navy'>make: *** = [_subdir_libs] Error 2<o:p></o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span lang=3DEN-US style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></font></b><font size=3D2 face=3DTahoma><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Tahoma'> Greg Haerr [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, May 29, = 2006 8:37 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Green Wan; = <st1:PersonName w:st=3D"on">[email protected]</st1:PersonName><br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: = [Pixil-devel] Compile in cygwin + gcc 3.4.4</span></font><span = lang=3DEN-US><o:p></o:p></span></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>Hope this helps... :</span></font><span = lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>a & b: we've only tested the PIXIL build = with the older</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>versions of the C++ compiler documented in the = docs/</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>directory. What version are you = running? There are</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>strange build problems with later versions of = the compiler.</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>c. We suggest using the older version of the = FLTK library</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>as documented in the build/doc = instructions. This is why</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>we included the FLEK source in the = tree.</span></font><span lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>Regards,</span></font><span = lang=3DEN-US><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>Greg</span></font><span = lang=3DEN-US><o:p></o:p></span></p> </div> <blockquote style=3D'border:none;border-left:solid black = 1.5pt;padding:0cm 0cm 0cm 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'= > <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:Arial'>----- Original Message ----- = <o:p></o:p></span></font></p> </div> <div style=3D'font-color:black'> <p class=3DMsoNormal style=3D'background:#E4E4E4'><b><font size=3D2 = face=3DArial><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span= ></font></b><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Arial'> <a href=3D"mailto:[email protected]" title=3D"[email protected]">Green = Wan</a> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>To:</span><= /font></b><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Arial'> <a href=3D"mailto:[email protected]" = title=3D"[email protected]">[email protected]</a> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>Sent:</span= ></font></b><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Arial'> Friday, May 26, 2006 4:07 AM<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>Subject:</s= pan></font></b><font size=3D2 face=3DArial><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:Arial'> [Pixil-devel] Compile in cygwin + gcc 3.4.4<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p> </div> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font><= /p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>I am try to = build Pixil-1.2.3.tar.gz on my cygwin system. I’ve run nano-x on it successfully. The following is my setting and compiling = error.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>--------< = Setting of config in directory, pixil-1.2.3. = >---------<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>a. MW_PREFIX=3D"/usr/src/Pixil/microwindows-0.90/src"<o:p></o:p></= span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>b. &nb= sp; CONFIG_PIXILDT=3Dy<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>c. &nb= sp; CONFIG_PIXILDT_FLTKDIR=3D"/usr/src/fltk-1.1.7"<o:p></o:p></span= ></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>-------< = Compile error after typing = “make”>------------------<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'margin-left:18.0pt;text-indent:-18.0pt;layout-grid-mode: char'><font size=3D1 face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt; font-family:Arial'>a.</span></font><font size=3D1><span lang=3DEN-US style=3D'font-size:7.0pt'> = </span></font><font size=3D1 face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>The first part is like that can’t link C++ = library.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>make[1]: = Entering directory `/usr/src/pixil-1.2.3/libs'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>make[2]: = Entering directory = `/usr/src/pixil-1.2.3/libs/flek/src'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>gcc = -Wl,-soname,`basename libflek.so` -shared -o libflek.so FDate.o FSocket.o FFile.o FVector.o = FImage.o FSGI.o FPNM.o Fl_App_Window.o Fl_Better_Window.o Fl_Calendar.o Fl_Dockable_Window.o Fl_Stock.o Fl_Toggle_Node_Base.o Fl_Toggle_Node.o Fl_Toggle_Tree_Base.o Fl_Toggle_Tree.o Flv_CStyle.o Flv_Style.o = Flv_List.o Flv_Table.o Flve_Check_Button.o Flve_Input.o Flve_Combo.o = Fl_Time.o<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x95= 2): undefined reference to `operator new(unsigned = int)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x17= dc): undefined reference to = `std::ios_base::Init::Init()'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x17= f8): undefined reference to = `std::ios_base::Init::~Init()'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal = style=3D'margin-left:18.0pt;text-indent:-18.0pt;layout-grid-mode: char'><font size=3D1 face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt; font-family:Arial'>b.</span></font><font size=3D1><span lang=3DEN-US style=3D'font-size:7.0pt'> = </span></font><font size=3D1 face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>the second part is like that can’t link with FLTK library, is = it?<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x1f): undefined reference to = `Fl_Window::~Fl_Window()'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x4f): undefined reference to = `Fl_Window::~Fl_Window()'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x7f): undefined reference to = `Fl_Window::~Fl_Window()'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0xb0): undefined reference to = `___gxx_personality_sj0'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x103): undefined reference to `operator new(unsigned = int)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x136): undefined reference to `Fl_Pack::Fl_Pack(int, int, int, int, char = const*)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x162): undefined reference to `operator new(unsigned = int)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x195): undefined reference to `Fl_Window::Fl_Window(int, int, int, int, char = const*)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Fl_App_Window.o:Fl_App_Window= .cxx:(.text+0x1cb): undefined reference to `operator = delete(void*)'<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>Could anyone = help me out? =3DD<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></fon= t></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US style=3D'font-size:9.0pt;font-family:Arial'>Best = regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'layout-grid-mode:char'><font size=3D1 = face=3DArial><span lang=3DEN-US = style=3D'font-size:9.0pt;font-family:Arial'>Green<o:p></o:p></span></font= ></p> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span lang=3DEN-US style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-US style=3D'font-size:12.0pt'>______________________________________________= _<br> Pixil-devel mailing list<br> [email protected]<br> http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel<o:p></o:p></spa= n></font></p> </blockquote> </div> </body> </html> ------_=_NextPart_001_01C682D2.4F17C8B1-- --===============1408158706== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pixil-devel mailing list [email protected] http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel --===============1408158706==--