It worked finally,
As per hint I did change
endif
DEFS+=$(CONFUSEDEFS)
LIBS=$(CONFUSELIBS)
To
endif
CONFUSEDEFS=-I$(LOCALBASE)/include -I/usr/local/include -I/opt/include
-I/usr/sfw/include
CONFUSELIBS=-L$(LOCALBASE)/lib -L/usr/local/lib -L/usr/sfw/lib
-L/opt/lib -lconfuse
DEFS+=$(CONFUSEDEFS)
LIBS=$(CONFUSELIBS)
Now I got an error that
Jan 21 14:36:24 [24863] INFO:carrierroute:bind_data_loader: use file as
configuration sourceJan 21 14:36:24 [24863]
ERROR:carrierroute:bind_data_loader: can't stat config file
But this is a totally different story :), let me hit the carrierroute
documentation.
Thanks A million
-----Original Message-----
From: Henning Westerholt [mailto:henning.westerholt@1und1.de]
Sent: 2009-01-21 15:32
To: Ali Jawad
Subject: Re: [Kamailio-Users] Problem With Carrierroute on Solaris
On Wednesday 21 January 2009, you wrote:
At current it is
/opt/lib -lconfuse <-- note the L
should I make that
/opt/lib -confuse -lgcc
or
/opt/lib -lconfuse -lgcc <- double L
The last one, with two 'l' is correct. The '-l' tells the compiler that
this is a linker configuration, after the l comes the library name. '-L'
is a library location.