[squid-users] Editing Makefile.am to include static libraries

Priya Agarwal priya_agarwal at students.iitmandi.ac.in
Fri Mar 13 09:19:24 UTC 2015


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 = -lusdpaa_dma -lusdpaa_dpa_offload -lusdpaa_of -lusdpaa_ppac
-lusdpaa_qbman -lusdpaa_rmu -lusdpaa_srio -lusdpaa_dma_mem -lusdpaa_fman
-lusdpaa_pme \
               -lusdpaa_process -lusdpaa_rman -lusdpaa_sec -lusdpaa_syscfg

squid_CPPFLAGS =
-I/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/usdpaa/git-r5/include/

But I think this wrong as libraries aren't getting linked. I am getting
"undefined reference to" errors.
So what variables should I add/change.


Thanks.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150313/c7661025/attachment-0001.html>


More information about the squid-users mailing list