Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Build debian package on Debian/kFreeBSD
Re: Build debian package on Debian/kFreeBSD [message #41185 is a reply to message #41180] Sat, 09 November 2013 09:56 Go to previous messageGo to previous message
vicxtor is currently offline  vicxtor
Messages: 4
Registered: November 2013
Junior Member
Hi all,

I chang some compile config,

1. upp_5485.orig.tar.gz

upp-x11-src-5485/uppsrc/Core/config.h L44 ~ L46

from

#else
#error Unknown OS
#endif

to

#else
#define PLATFORM_LINUX 1
#endif

2.upp_5485-1~wheezy0.debian.tar.gz

debian/patches/debian-changes-5485-1~sid0

L402
from
@@ -0,0 +1,378 @@
to
@@ -0,0 +1,382 @@

L466 add 4 lines
+INCPATHS+= /usr/lib/i386-kfreebsd-gnu/glib-2.0/include
+INCPATHS+= /usr/lib/x86_64-kfreebsd-gnu/glib-2.0/include
+INCPATHS+= /usr/lib/i386-kfreebsd-gnu/gtk-2.0/include
+INCPATHS+= /usr/lib/x86_64-kfreebsd-gnu/gtk-2.0/include

3.
dpkg-source --no-check -x upp_5485-1~wheezy0.dsc
cd upp-5485
dpkg-buildpackage -rfakeboot -b

all files compiled successfully but have link errors

Linking /home/fenix/Downloads/upp-5485/ide
_out/Draw/DEBUG.DEBUG_FULL.GCC.GNU/KFREEBSD.GUI.POSIX/Draw.a (FontFc.cpp.o): In function `Upp::sInitFt()':
/home/fenix/Downloads/upp-5485/uppsrc/Draw/FontFc.cpp:24: undefined reference to `FT_Init_FreeType'
_out/Draw/DEBUG.DEBUG_FULL.GCC.GNU/KFREEBSD.GUI.POSIX/Draw.a (FontFc.cpp.o): In function `Upp::CreateFcPattern(Upp::Font)':
/home/fenix/Downloads/up_out/CtrlCore/DEBUG.DEBUG_FULL.GCC.G NU/KFREEBSD.GUI.POSIX/CtrlCore.a(DrawX11.cpp.o): In function `Upp::InitX11Draw(char const*)':
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawX11.cpp:2 37: undefined reference to `gtk_init'
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawX11.cpp:2 38: undefined reference to `gtk_window_new'
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawX11.cpp:2 39: undefined reference to `gtk_widget_get_display'
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawX11.cpp:2 40: undefined reference to `gdk_x11_display_get_xdisplay'
p-5485/uppsrc/Draw/FontFc.cpp:33: undefined reference to `FcPatternCreate'
/home/fenix/Downloads/upp-5485/uppsrc/Draw/FontFc.cpp:34: undefined reference to `FcPatternAddString'
/home/fenix/Downloads/upp-5485/uppsrc/Draw/FontFc.cpp:35: undefined reference to `FcPatternAddInteger'

_out/CtrlCore/DEBUG.DEBUG_FULL.GCC.GNU/KFREEBSD.GUI.POSIX/Ct rlCore.a(DrawTextX11.cpp.o): In function `Upp::GetXftFont(Upp::Font, int)':
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawTextX11.c pp:96: undefined reference to `XftFontClose'
_out/CtrlCore/DEBUG.DEBUG_FULL.GCC.GNU/KFREEBSD.GUI.POSIX/Ct rlCore.a(DrawTextX11.cpp.o): In function `Upp::XftGetFontInfoSys(Upp::Font)':
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawTextX11.c pp:124: undefined reference to `FcPatternGetString'
_out/CtrlCore/DEBUG.DEBUG_FULL.GCC.GNU/KFREEBSD.GUI.POSIX/Ct rlCore.a(DrawTextX11.cpp.o): In function `Upp::XftGetGlyphInfoSys(Upp::Font, int)':
/home/fenix/Downloads/upp-5485/uppsrc/CtrlCore/DrawTextX11.c pp:135: undefined reference to `XftTextExtents16'

many similar messages like above.
libs are in /usr/lib/x86_64-kfreebsd-gnu

Do you know how to fix these issues ?

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ultimate++ is a source only library?
Next Topic: Problem with IMCENUMPROC
Goto Forum:
  


Current Time: Sun May 12 11:37:21 CEST 2024

Total time taken to generate the page: 0.02897 seconds