Re: Compile problems
- From: Havoc Pennington <hp redhat com>
- To: Alan LaViolette <apl purdue edu>
- Cc: gnome-devel-list gnome org
- Subject: Re: Compile problems
- Date: 01 Feb 2000 17:38:54 -0500
Alan LaViolette <apl@purdue.edu> writes:
> g++ -I. `gtk-config --cflags --libs` -lORBit -lIIOP -lgnorba -lgnome
> -lgnomesupport -lesd -lgnomeui -lart_lgpl test.c
>
Try:
g++ `gnome-config --cflags gnomeui gnorba` `gnome-config --libs gnomeui gnorba` test.c
> text.o: In function `main':
> text.o(.text+0x28): undefined reference to `gnome_CORBA_init(char const
> *, char const *, int *, char **, GnorbaInitFlags, CORBA_Environment_type
> *)'
> collect2: ld returned 1 exit status
>
In the future, the way to resolve this error is:
- what library is gnome_CORBA_init() found in?
- add that library to the link line
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]