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

2015-03-30 Thread Priya Agarwal
CXXFLAGS="-I=/usr/include/"" Attached the logfile too. On Fri, Mar 13, 2015 at 5:29 PM, Amos Jeffries wrote: > On 14/03/2015 12:28 a.m., Priya Agarwal wrote: > > I tried what you advised. Getting the same error for both methods > > (./configure L

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

2015-03-25 Thread Priya Agarwal
Amos Jeffries wrote: > 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 d

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

2015-03-25 Thread Priya Agarwal
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': > >

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

2015-03-15 Thread Priya Agarwal
CXXFLAGS="-I=/usr/include/"" Here is the logifle: http://pastebin.com/u6SGDvGW On Mon, Mar 16, 2015 at 11:06 AM, Priya Agarwal < priya_agar...@students.iitmandi.ac.in> wrote: > Hi, > > I am now linking the libraries during ./configure with LDFLAGS, LIBS and &g

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

2015-03-13 Thread Priya Agarwal
7;) Final error: | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. So is something wrong with the path? I have attached the logfile as well which shows the detailed output. On Fri, Mar 13, 2015 at 3:24 PM, Amos Jeffries wrote: > On 13/03/2015 10:19 p.

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

2015-03-13 Thread Priya Agarwal
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

Re: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-13 Thread Priya Agarwal
.log /var/logs/cache.log: Permission denied messages will be sent to 'stderr'. '. On Sat, Feb 14, 2015 at 2:48 AM, Amos Jeffries wrote: > On 14/02/2015 12:45 a.m., Priya Agarwal wrote: > > root@t4240qds:~# chown -R nobody:nogroup /var/logs > > > STOP!!! > &

Re: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-13 Thread Priya Agarwal
attern .020%4320 WARNING: Cannot write log file: /var/logs/cache.log /var/logs/cache.log: Permission denied messages will be sent to 'stderr'. root@t4240qds:~# ls -ld /var/logs drwx-- 2 nobody nogroup 4096 Feb 13 11:49 /var/logs On Fri, Feb 13, 2015 at 5:12

Re: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-13 Thread Priya Agarwal
Feb 13, 2015 at 5:04 PM, Antony Stone < antony.st...@squid.open.source.it> wrote: > On Friday 13 Feb 2015 at 11:06, Priya Agarwal wrote: > > > So sorry. In squid.conf I had done cache_effective_user to nobody and set > > permissions of /var and /usr to nobody. So those are the permissions.

Re: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-13 Thread Priya Agarwal
/var/logs drwx-- 2 nobody nogroup 4096 Feb 13 11:49 /var/logs On Fri, Feb 13, 2015 at 2:57 PM, Antony Stone < antony.st...@squid.open.source.it> wrote: > On Friday 13 Feb 2015 at 09:12, Antony Stone wrote: > > > On Friday 13 Feb 2015 at 03:53, Priya Agarwal wrote: > >

Re: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-12 Thread Priya Agarwal
se/tmp/sysroots/t4240qds -m32 -mhard-float -mcpu=e6500' 'PKG_CONFIG_PATH=/media/NewVolume/yocto/build_t4240qds_release/tmp/sysroots/t4240qds//usr/lib/pkgconfig:/media/NewVolume/yocto/build_t4240qds_release/tmp/sysroots/t4240qds/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/media/NewV

[squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe)

2015-02-12 Thread Priya Agarwal
Hi, I know this must be a very common error. But I am unable to remove it. My permissions are set correct. Network connection is also fine. Here is my log: root@t4240qds:~# /usr/sbin/squid -NCd1 2015/02/12 11:44:06| Set Current Directory to /var/cache/squid 2015/02/12 11:44:06| Starting Squid Cac

Re: [squid-users] Squid Source Code: What files/functions receive/send packets from/to hardware

2015-02-06 Thread Priya Agarwal
Actually I am unable to mail to squid-dev. Thus asking here. How/where does squid open the network interface and starts listening on them. Regards On Fri, Feb 6, 2015 at 12:57 PM, Priya Agarwal wrote: > Hi, > I needed some direction again. I also need to know where in the source >

Re: [squid-users] Squid Source Code: What files/functions receive/send packets from/to hardware

2015-02-05 Thread Priya Agarwal
Hi, I needed some direction again. I also need to know where in the source code does squid open the network interface before it reads/writes from it. Thanks. Regards On Tue, Jan 6, 2015 at 11:37 AM, Priya Agarwal wrote: > Thanks a lot. :) > I'll sign up for squid-dev mailing list

Re: [squid-users] ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error

2015-02-02 Thread Priya Agarwal
I could solve it. Created a new partition in my sd card. On Tue, Feb 3, 2015 at 11:20 AM, Priya Agarwal wrote: > Hello, > > How do I correct this error. > > ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error > FATAL: UFSSwapDir::openLog: Faile

[squid-users] ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error

2015-02-02 Thread Priya Agarwal
Hello, How do I correct this error. ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error FATAL: UFSSwapDir::openLog: Failed to open swap log. Background: Running squid 3.4.7 on a freescale machine (T4240QDS) with ubuntu 12.04. /usr/sbin/squid -k parse and /usr/sbin/squid -z

[squid-users] Squid Source Code: What files/functions receive/send packets from/to hardware

2015-01-05 Thread Priya Agarwal
Hi. I am Priya. I want to modify the squid code only in places where it is actually communicating with the hardware to send or receive packets. I do not intent to change its functionality or how it works. I am facing some difficulty in understanding the full code. If I could get some hints on for

[squid-users] Squid Source Code: What files/functions receive/send packets from/to hardware

2015-01-05 Thread Priya Agarwal
Hi. I am Priya. I want to modify the squid code only in places where it is actually communicating with the hardware to send or receive packets. I do not intent to change its functionality or how it works. I am facing some difficulty in understanding the full code. If I could get some hints on for