Hi,
I am now linking the libraries during ./configure with LDFLAGS, LIBS and
CXXFLAGS options (Makefile.am is same as it was) Compile is failing
presently.
main.o: In function `of_init':
/media/NewVolume/yocto/build_t4240qds_release/tmp/sysroots/t4240qds/usr/include/usdpaa/of.h:52:
undefined ref
On 26/03/2015 4:47 a.m., Priya Agarwal wrote:
> I can't change the header files of library. Therefore when I included it in
> my code I did
> extern "C" {
> #include
> ...
> }
>
> instead of just #include and it worked.
Yes, that is equivalent to the correct header contents.
>
> But the compile
I can't change the header files of library. Therefore when I included it in
my code I did
extern "C" {
#include
...
}
instead of just #include and it worked.
But the compiler is showing some errors in the header files I included, but
of course there isn't anything wrong in them. I could include i
On 25/03/2015 11:26 p.m., Priya Agarwal wrote:
> I could link the libraries. The problem was that libraries were C and thus
> g++ wasn't creating right symbols.
.h files fro C libraries need to contain the syntax:
#if defined(__cplusplus)
extern "C" {
#endif
... library API ...
#if defined(__
I could link the libraries. The problem was that libraries were C and thus
g++ wasn't creating right symbols.
I have another question.
what part of the source code handles shutdown or exiting (ctrl+c).
Thanks.
On Mon, Mar 16, 2015 at 11:37 AM, Amos Jeffries
wrote:
> On 16/03/2015 6:36 p.m., Pri
On 16/03/2015 6:36 p.m., Priya Agarwal wrote:
> Hi,
>
> I am now linking the libraries during ./configure with LDFLAGS, LIBS and
> CXXFLAGS options (Makefile.am is same as it was) Compile is failing
> presently.
>
> main.o: In function `of_init':
> /media/NewVolume/yocto/build_t4240qds_release/t
Hi,
I am now linking the libraries during ./configure with LDFLAGS, LIBS and
CXXFLAGS options (Makefile.am is same as it was) Compile is failing
presently.
main.o: In function `of_init':
/media/NewVolume/yocto/build_t4240qds_release/tmp/sysroots/t4240qds/usr/include/usdpaa/of.h:52:
undefined ref
On 14/03/2015 12:28 a.m., Priya Agarwal wrote:
> I tried what you advised. Getting the same error for both methods
> (./configure LDFLAGS=-L<../tmp/../lib CXXFLAGS=-I<.../tmp../include or
> editing Makefile.am appropriately). autoreconf is failing.
I see "<" characters in your paths. That is inval
I tried what you advised. Getting the same error for both methods
(./configure LDFLAGS=-L<../tmp/../lib CXXFLAGS=-I<.../tmp../include or
editing Makefile.am appropriately). autoreconf is failing.
And also I am getting many such warnings:
| src/Common.am:16: warning: 'INCLUDES' is the old name for
On 13/03/2015 10:19 p.m., Priya Agarwal wrote:
> Hi,
>
> I wanted to link certain static libraries and use them in squid source
> code. I added the following lines in Makefile.am of the 'src' directory.
Please be aware if you do that your new code and anything built from the
Squid Makefile MUST b
Hi,
I wanted to link certain static libraries and use them in squid source
code. I added the following lines in Makefile.am of the 'src' directory.
squid_LDFLAGS =
-L/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/usdpaa/git-r5/lib_powerpc/
squid_LDLIBS = -lu
11 matches
Mail list logo