Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
Help !! Compiling Linux
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help !! Compiling Linux (Read 1339 times)
Edwin Quijada
Guest
Help !! Compiling Linux
«
on:
September 05, 2005, 10:28:09 pm »
Hi!
I am trying to do a simple app using Lazarus in Linux Suse 9.3. My app is a form with a botton that says "Hello World...." and this seems an imposible thing.
I have the last snapshot with rpm and installed this but when compile my app I get this errors:
/usr/lib/libgdk.a(gdk.o)(.text+0x5f1): In function `gdk_init_check':
gdk.c: undefined reference to `__ctype_toupper'
/usr/lib/libgtk.a(gtkaccellabel.o)(.text+0xb05): In function `gtk_accel_label_refetch':
gtkaccellabel.c: undefined reference to `__ctype_toupper'
/usr/lib/libgtk.a(gtkaccellabel.o)(.text+0xb3e):gtkaccellabel.c: undefined reference to `__ctype_toupper'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x2ff4): In function `gtk_move_forward_word':
gtkentry.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x302b):gtkentry.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x3059):gtkentry.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x30cc): In function `gtk_move_backward_word':
gtkentry.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x30f9):gtkentry.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtkentry.o)(.text+0x3129):gtkentry.c: more undefined references to `__ctype_b' follow
/usr/lib/libgtk.a(gtkrc.o)(.text+0x3be): In function `_gtk_normalize_codeset':
gtkrc.c: undefined reference to `__ctype_tolower'
/usr/lib/libgtk.a(gtktext.o)(.text+0x53b6): In function `find_cursor_at_line':
gtktext.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtktext.o)(.text+0x5725): In function `find_mouse_cursor_at_line':
gtktext.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtktext.o)(.text+0x5e75): In function `gtk_text_move_forward_word':
gtktext.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtktext.o)(.text+0x5e8c):gtktext.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtktext.o)(.text+0x5ea0):gtktext.c: undefined reference to `__ctype_b'
/usr/lib/libgtk.a(gtktext.o)(.text+0x5eec):gtktext.c: more undefined references to `__ctype_b' follow
project1.lpr(14,1) Error: Error while linking
Really I dont know what happens because in Win everything is fine , i have a point of sale even in win.Now I want to do this in Linux and this is imposible
Any clues or tips?
I am ready for hearing everythiing!!!!
*-------------------------------------------------------*
*-Edwin Quijada
*-Developer DataBase
*-JQ Microsistemas
*-809-747-2787
* " Si deseas lograr cosas excepcionales debes de hacer cosas fuera de lo comun"
*-------------------------------------------------------*
Logged
Anonymous
Guest
Help !! Compiling Linux
«
Reply #1 on:
September 19, 2005, 10:18:57 am »
I don't know if it's your case, but however remember that actually is not trivial to build a Lazarus based developement environment under Linux, i.e. the Win32 installer is ways simpler!
I installed Lazarus on Suse 9.2 Linux distribution some months ago, I had to carefully install the right version of some libaries, here are mine libraries, you may need different libraries or differnt versions due to the differences between your Suse 9.3 and my 9.2:
- fpc-1.9.8-0.i586.rpm (Free Pascal Compiler, see the version needed from your version of Lazarus!);
- fpcsrc-1.9.8-050225.i386.rpm (Free Pascal Compiler sources, see what version is required for you version of Lazarus!);
- gdk-pixbuf (found on Suse CD);
- gdk-pixbuf-devel-0.18.0-610.i586.rpm, that requires:
- - gtk-devel that requires:
- - glib-devel
- - xfree-devel that requires:
- - - fontconfig-devel
As you can see, you may have to do a little of work to find what you need on .rpm repositories online, however, in my opinion, it worths since Lazarus performances seem much more better under Linux than on XP SP2 on my machine.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
Help !! Compiling Linux
Recent
Q about capabilities of t...
by
mdlueck
[
Today
at 06:30:59 pm]
Cross Compile
by
Leledumbo
[
Today
at 05:23:05 pm]
TaChart ternary plot func...
by
wp
[
Today
at 05:08:44 pm]
Stable database?
by
BigChimp
[
Today
at 03:27:28 pm]
Lazarus 0.9.30.4 released
by
felipemdc
[
Today
at 03:08:45 pm]
Colored cells of a string...
by
paskal
[
Today
at 02:34:31 pm]
writeln fails to output t...
by
jack616
[
Today
at 02:18:10 pm]
[SOLVED] How to install l...
by
HexNihilo
[
Today
at 01:24:54 pm]
libUSB under win32
by
helloa
[
Today
at 01:20:01 pm]
[SOLVED] How to make a pu...
by
paskal
[
Today
at 01:14:38 pm]