Re: CVS compile fails



On Mon, 13 May 2002, Mat Home wrote:
I get undefined references when compiling dia (just updated, i did a make
clean and reconfigured).

gcc -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions 
-fstrict-aliasing -o dia diagram.o preferences.o 
...
-rdynamic -Wl,--export-dynamic  ../lib/libdia.a /usr/lib/libxml2.so -L/usr/lib -L/usr/X11R6/lib 
/usr/lib/libart_lgpl.so -lpng /usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so 
/usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm /usr/lib/libunicode.so -lz
export_png.o: In function `export_png':
export_png.o(.text+0x99f): undefined reference to `dialog_make'
export_png.o(.text+0x9db): undefined reference to `dialog_add_spinbutton'
export_png.o(.text+0xa17): undefined reference to `dialog_add_spinbutton'
lineprops_area.o: In function `dia_arrow_preview_expose':
lineprops_area.o(.text+0x426): undefined reference to `new_pixmap_renderer'
lineprops_area.o(.text+0x44c): undefined reference to `renderer_pixmap_set_pixmap'
lineprops_area.o(.text+0x507): undefined reference to `destroy_pixmap_renderer'
menus.o(.data+0x80): undefined reference to `sheets_dialog_show_callback'
collect2: ld returned 1 exit status

These are all references to new files (app/dialogs.[ch],
app/renderer_pixmap.[ch], and
app/sheets{,_dialog,_dialog_callbacks}.[ch]).  They have been in CVS since
late April.  You need to rerun autogen.sh to get your makefiles updated.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



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