Search squid archive

Re: Editing Makefile.am to include static libraries

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

 



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(__cplusplus)
}
#endif

> 
> I have another question.
> what part of the source code handles shutdown or exiting (ctrl+c).

src/main.cc

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux