automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

project link problems


From: Josh Steiner
Subject: project link problems
Date: Thu, 12 Oct 2000 09:44:50 -0700 (PDT)

Hi all, i hope this is an appropriate list to ask about problems using
automake.  I am new to free software development and I am adding some code
to an existing project (www.terminatorx.cx) which is writen in a mix of c
and c++.  I added a few files to the project, and in order to get them
built I added the .cc/.h files to the terminatorX_SOURCES line in the
Makefile.am .  Now my file gets built, i can use preprocessor definitions
from those files, but when i try to call a function (foobar) from one of
those files (tX_middin.cc/h) i get an error in linking.

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/lib/glib/include
-I/usr/X11R6/include -D_REENTRANT -c lllib.c
c++  -g -O2 -I/usr/lib/glib/include -I/usr/X11R6/include -D_REENTRANT  -o
terminatorX  tX_endian.o tX_dialog.o tX_widget.o wav_write.o tX_engine.o
tX_logo.o tX_mouse.o main.o tX_global.o wav_read.o tX_flash.o tX_tape.o
tX_vtt.o tX_vttgui.o tX_audiodevice.o tX_mastergui.o tX_audiofile.o
tX_loaddlg.o tX_icon.o tX_prelis.o tX_seqpar.o tX_pbutton.o tX_event.o
tX_sequencer.o tX_knobloader.o tX_dial.o tX_extdial.o tX_panel.o
tX_ladspa.o tX_vttfx.o tX_midiin.o lllib.o  -L/usr/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXi
-lXxf86dga -lpthread
tX_mastergui.o: In function `create_midi_dialog(tX_seqpar *)':
/home/joschi/src/terminatorX.midi/src/tX_mastergui.cc:173: undefined
reference to `foobar'

is there something i am forgetting to do in configuring the build
settings?  thanks a lot!

_______________________________________________________________________
Josh "Yoshi" Steiner - address@hidden - http://eds.org/~joschi 

Xiphoid Process Records - http://xiphoidprocess.com
San Francisco based electronic music.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]