From: Bob D. <bd...@si...> - 2004-08-23 21:11:46
|
Can I see your exact link line please and the gcc/ld error message? - bob On Mon, 2004-08-23 at 23:02 +0200, Sabin Bilbao wrote: > Hi Bob, >=20 > Thank you for your response. >=20 > I am trying with a simple program in KDE C++, and I can not link the pr= ogram.=20 > I have been checking the makefile.am of the projct and I think the loca= tion=20 > of the libraries is correct and the flags I am using are correct (they = are=20 > the same as in the makefile of rlib/src/examples/c). >=20 > But obviously I have an error somewhere. I will continue trying to link >=20 > Thank you very much for your help. >=20 > Best regards, >=20 > Sabin >=20 >=20 > El Lunes, 23 de Agosto de 2004 19:33, escribi=C3=B3: > > Hi, > > > > see rlib/src/examples/c > > > > It's a small c program linked w/ RLIB > > > > That give you some hints > > > > RLIB also installs a package config file > > > > pkg-config --cflags rlib > > pkg-config --libgs rlib > > > > is the best way to compile and link > > > > - bob > > > > On Mon, 2004-08-23 at 18:24 +0200, Sabin Bilbao wrote: > > > Hi, > > > > > > I am working with rlib. I am trying to use rlib but I can not link= my > > > program with the library: "unresolved reference to rlib_init()" > > > > > > I am trying with "-lr" in the linking line. The program compiles we= ll but > > > the linking process gives the error above. > > > > > > I am a new user of kdevelop and I have a basic knowledge of C++, so > > > perhaps I am no using correctly the libraries. > > > > > > Your help would be welcome. > > > > > > Thanks >=20 |