[Pixil-devel] Compile in cygwin + gcc 3.4.4
"Green Wan" <[email protected]> Fri, 26 May 2006 18:07:14 +0800
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0973268053==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C680AC.29BC5060"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C680AC.29BC5060
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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
------_=_NextPart_001_01C680AC.29BC5060
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=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<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;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
layout-grid:18.0pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:500702048;
mso-list-type:hybrid;
mso-list-template-ids:-1045661270 -53302114 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:18.0pt;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</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 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 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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>b. =
CONFIG_PIXILDT=3Dy<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>c. =
CONFIG_PIXILDT_FLTKDIR=3D"/usr/src/fltk-1.1.7"<o:p></o:p></span=
></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:Arial'><span
style=3D'mso-list:Ignore'>a.<font size=3D1 face=3D"Times New =
Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'> =
</span></font></span></span></font><![endif]><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><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><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x952): undefined =
reference
to `operator new(unsigned int)'<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x17dc): undefined =
reference
to `std::ios_base::Init::Init()'<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>FDate.o:FDate.cxx:(.text+0x17f8): undefined =
reference
to `std::ios_base::Init::~Init()'<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:Arial'><span
style=3D'mso-list:Ignore'>b.<font size=3D1 face=3D"Times New =
Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'> =
</span></font></span></span></font><![endif]><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><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><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><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><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><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><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><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><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><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><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>
</body>
</html>
------_=_NextPart_001_01C680AC.29BC5060--
--===============0973268053==
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
--===============0973268053==--