Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I downloaded some programs as sourcecode archives cause there was no rpm available for SuSE 9. But unfortunately I am not able to compile one of them :-(
I was able to fix some problems like "command not found". But anytime there comes an error like "Syntax error" or "undeclared", in every progam I try to compile. But I can not imagine that there are really syntax or declaration errors in the source codes, even if they have been download very often and I also downloaded some of them several times. To give some names: GAIM 0.75 or GtkScintilla2.
I had a look into gtkscintilla.c and there is really this expression which is not declared in this file. But there are also some include files I did not take a look in. I think it looks like a constant, but how do I know the value of it? Or mustn't it be declared otherwise?
I ran the compilation as root.
Do I (or my system :-)) need something special to compile a program in general (except a compiler and the make)?
I don't know very much about C/C++ programming, I am just doing my first steps with it...
You need to make sure you have a recent version of glibc, gcc and make. Can you paste the last few lines in your error message? You are probably missing something, but to find out what you need, you have to look at the context. See for an error with an include file.
gcc -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -Wall -DGTK -DSCI_LEXER -c -o gtkscintilla.o gtkscintilla.c
gtkscintilla.c: In function `gtk_scintilla_class_init':
gtkscintilla.c:154: error: `scintilla_marshal_VOID__INT_INT' undeclared (first use in this function)
gtkscintilla.c:154: error: (Each undeclared identifier is reported only once
gtkscintilla.c:154: error: for each function it appears in.)
gtkscintilla.c:182: error: `scintilla_marshal_VOID__INT_INT_STRING_INT_INT_INT_INT_INT' undeclared (first use in this function)
gtkscintilla.c:194: error: `scintilla_marshal_VOID__INT_ULONG_LONG' undeclared (first use in this function)
gtkscintilla.c:204: error: `scintilla_marshal_VOID__INT_INT_INT' undeclared (first use in this function)
make: *** [gtkscintilla.o] Fehler 1
Something similar to this happens also with other source codes. I don't really see a problem :-(
My glibc/gcc versions shall be okay... (glibc 2.3.2-88, gcc 3.3.1-24, make 3.80-96)
no, unfortunately it will not help. i have Gaim 0.67 just installed but Y! does not work in this version (yeah, I have set the correct servername), that's why I want to update... but there are no RPMs available :-/