LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make question from a newbie (https://www.linuxquestions.org/questions/linux-newbie-8/make-question-from-a-newbie-109582/)

grbrg 10-28-2003 01:57 PM

make question from a newbie
 
I've run into this problem twice now, so I have to ask you people what this means and what to do about it. Sorry if this is a very simple question, but when compiling with "make" I get the following:

make[3]: *** [firestarter.o] Error 1
make[3]: Leaving directory `/home/gruberg/downloads/firestarter-0.8.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gruberg/downloads/firestarter-0.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gruberg/downloads/firestarter-0.8.3'
make: *** [all-recursive-am] Error 2

This is from building firestarter btw! ;) From building another program I get threee "error 1" before it quits. Is this a normal message or if not, what can I do about it?

david_ross 10-28-2003 02:42 PM

There is likely to be more output - what you have posted doesn't really say much.

grbrg 10-28-2003 03:24 PM

sure, there's tons of more output, but I didn't want to spam the post with it. Here is some more, if it still isn't enough I'll post all... ;)

make[3]: Entering directory `/home/gruberg/Downloads/firestarter-0.8.3/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DG_LOG_DOMAIN=\"Firestarter\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I../intl -I../intl -DFIRESTARTER_RULES_DIR=\"/usr/local/etc\" -I-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -g -O2 -Wall -Wunused -c firestarter.c
firestarter.c:14:28: status-docklet.h: No such file or directory
firestarter.c:439: parse error before '*' token
firestarter.c: In function `status_docklet_build_plug':
firestarter.c:443: `docklet' undeclared (first use in this function)
firestarter.c:443: (Each undeclared identifier is reported only once
firestarter.c:443: for each function it appears in.)
firestarter.c:444: warning: implicit declaration of function `IS_STATUS_DOCKLET'firestarter.c:450: `plug' undeclared (first use in this function)
firestarter.c: In function `main':
firestarter.c:551: `CORBA_Environment' undeclared (first use in this function)
firestarter.c:551: parse error before "ev"
firestarter.c:552: `CORBA_ORB' undeclared (first use in this function)
firestarter.c:602: warning: implicit declaration of function `CORBA_exception_init'
firestarter.c:602: `ev' undeclared (first use in this function)
firestarter.c:603: `orb' undeclared (first use in this function)
firestarter.c:603: warning: implicit declaration of function `gnome_CORBA_init_with_popt_table'
firestarter.c:623: warning: implicit declaration of function `status_docklet_new'
firestarter.c:623: warning: assignment makes pointer from integer without a castfirestarter.c:626: warning: implicit declaration of function `status_docklet_run'
firestarter.c:626: warning: implicit declaration of function `STATUS_DOCKLET'
firestarter.c:634: warning: implicit declaration of function `gnome_window_icon_set_default_from_file'
firestarter.c:692: warning: implicit declaration of function `open_logfile'
firestarter.c:718: warning: implicit declaration of function `CORBA_exception_free'
make[3]: *** [firestarter.o] Error 1
make[3]: Leaving directory `/home/gruberg/Downloads/firestarter-0.8.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gruberg/Downloads/firestarter-0.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gruberg/Downloads/firestarter-0.8.3'
make: *** [all-recursive-am] Error 2

david_ross 10-28-2003 03:55 PM

Well - the problem begins at:
firestarter.c:14:28: status-docklet.h: No such file or directory

Which literally means that your system can't find "status-docklet.h" - does it exist?

grbrg 10-28-2003 04:09 PM

No, doesn't exist. But I just unpacked and ran "configure" before trying to compile, didn't change or delete anything, so it should work, shouldn't it...?

devinWhalen 10-28-2003 04:17 PM

Did configure give you any messages? I am not positive, but I think configure should pick up any problems with your system before you get to make. What does it say when you run configure?

Later

P.S.

Does it say anything in the readme file or install file? What about where you downloaded the source from? I know sometimes they don't tell you much, but you could be missing one thing and it might tell you in a README or INSTALL file.

david_ross 10-28-2003 04:19 PM

status-docklet.h appears to come in the gnome devel packages try installing them first.

grbrg 10-28-2003 05:21 PM

I used an rpm, so I actually don't need to do this anymore... I'm curious, though, and want to learn for future "make"s... :)

The gnome devel libraries are installed afaik, but I'm not sure where they should be located.

configure didn't complain about anything. I didn't find anything that even remotely seems to have anything to do with me in the README or INSTALL files...

david_ross 10-29-2003 12:33 PM

Just run find for that file:
find / -name status-docklet.h


All times are GMT -5. The time now is 08:18 PM.