Re: Compile problems



I sorry I did not make my description more clear on the first email I have used the
gnome-config program before and it gives the same problem.  I have also tested the compile
line using gnome-config on a friends computer, this returned the same error.

Alan LaViolette

Havoc Pennington wrote:

> 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
>
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.



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