Search Results

Search: Posts Made By: Rakesh Ranjan
1,540
Posted By Rakesh Ranjan
configuring packages for cross-platform build
Hi all,

I wish to build a few packages for my embedded target running linux over ARM9. It would be tough for me to compile my packages on target so I need to build on a host machine and then...
Forum: Linux 01-22-2009
3,872
Posted By Rakesh Ranjan
Kernel internals for ARM
Hi,

Does anybody have a good pointer on Linux kernel internals for ARM architecture? I can locate plenty for x86 but since ARM is RISC I think there would be subtle changes. So if somebody has a...
Forum: Programming 12-08-2006
6,888
Posted By Rakesh Ranjan
Thanks Corona688 and thanks jim. :) Though late...
Thanks Corona688 and thanks jim. :) Though late but I must thank you both.
I really interpreted the errors wrongly (a real silly but grave mistake). The errors were there for I was linking by...
Forum: Programming 10-26-2006
6,888
Posted By Rakesh Ranjan
No Corona688, that wont work because -Pprefix...
No Corona688, that wont work because -Pprefix just #define's the original function (like -Pfirst would do '#define yylex firstlex') which would be expanded by preprocessor before compilation itself...
Forum: Programming 10-25-2006
6,888
Posted By Rakesh Ranjan
Multiple scanners on same input file using lex/flex
Hi all,

I'm working with flex (version 2.5.4a) on GNU/linux. I used it to develop 4 scanner C files for matching different patterns within an input file. But the problem now on my hand is that I...
Forum: Programming 10-25-2006
3,301
Posted By Rakesh Ranjan
Ok jim i'll check out if this suits me. And yes...
Ok jim i'll check out if this suits me. And yes matrix if you meant inverting the selection by 'grep -v' then you are right (but then I've to use lex/flex).
Meanwhile I'm stuck up with another...
Forum: Programming 10-24-2006
3,301
Posted By Rakesh Ranjan
Still not solved
I'm really sorry if i was not clear enough but this is not the solution for what I wanted. I want the reg. exp. to match all patterns except "file".

PDL:
while (!end of input stream){
read...
Forum: Programming 10-23-2006
3,301
Posted By Rakesh Ranjan
help in regular expression
Hi all,
I'm working with flex (version 2.5.4a) on GNU/linux. I need to frame a regular expression which would match cases where word "file" does not occur. Negated character class wont work for me...
Forum: Programming 05-12-2006
7,595
Posted By Rakesh Ranjan
A rather simple calculation :) that I too arrived...
A rather simple calculation :) that I too arrived at. But my problem was that whether it would otherthings (since this file is included in many files like timer.c I thought it might affect scheduling...
Forum: Programming 04-14-2006
7,595
Posted By Rakesh Ranjan
change time interval for average load calculation
Hi friends, I need to find average load on my server. The problem would have been quite simple had I required the load averaged over 1 min,5 min or 15 min which I can easily find reading...
2,400
Posted By Rakesh Ranjan
Mahendramahendr, he may be right for the man page...
Mahendramahendr, he may be right for the man page on echo says about option [e] as below :
-e enable interpretation of the backslash-escaped characters

Dhananjay try this
echo -e...
Forum: Programming 04-09-2006
90,294
Posted By Rakesh Ranjan
Sorry Sanju but u have mixed up Unix file format...
Sorry Sanju but u have mixed up Unix file format ( aout , coff , elf and as86 ) with that of Windows. Compiling the file as u said (gcc -o file file.c) wont create file.exe but rather create an...
6,629
Posted By Rakesh Ranjan
Sorry Tancy for I couldn't get u in my first...
Sorry Tancy for I couldn't get u in my first reply. Since u had put this in Shell Q & A I mistook it for a question on shell. Anyway I can still help u a bit.

As I told u earlier the path of the...
6,629
Posted By Rakesh Ranjan
Quite simple add the path of the command to...
Quite simple add the path of the command to environment variable PATH like this
PATH=$PATH:/path/of/command (e.g PATH=$PATH:/bin).
The PATH variable contains path for commands separated with colon...
3,034
Posted By Rakesh Ranjan
Hi Sathish I'm listing below a script that should...
Hi Sathish I'm listing below a script that should peform what u have desired.


#! /bin/bash
#lastlog|awk -F " " '{print $1" "$3" "$4" " $5" " $6" " $7" " $8}'|grep [1-31] > lastlogfile...
11,015
Posted By Rakesh Ranjan
Since it bit too late that someone is answering I...
Since it bit too late that someone is answering I would just like to ask are u still in search of ur answer if yes I'm listing code for what u desired below:


/* listing - cpipe.c*/

#include...
14,617
Posted By Rakesh Ranjan
There may be many ways of doing this i'll...
There may be many ways of doing this i'll describe just one & probably the easiest one.
Assuming that u r taking input from a fixed file 'input.txt' (whose content u might be changing when u have to...
Forum: Programming 04-01-2006
5,593
Posted By Rakesh Ranjan
Elegant piece of code!! I really appreciate the...
Elegant piece of code!! I really appreciate the way u join the two functions. And yes stdlib really didn't mean to be there. I just skipped the non-essential include part and concentrated on the part...
Forum: Programming 03-28-2006
5,593
Posted By Rakesh Ranjan
I dare to rectify ur code though I agree with...
I dare to rectify ur code though I agree with others that ur code shouldn't compile.

#include <stdio.h>
#include <stdlib.h>
#define max 20
...
Forum: IP Networking 03-16-2006
7,402
Posted By Rakesh Ranjan
Hi strider u made few small mistakes in ur...
Hi strider u made few small mistakes in ur program that I'm listing down:

1) U need not convert INADDR_ANY to network long
2) In client side u may use inet_aton() to convert client IP address...
Forum: Programming 03-16-2006
12,389
Posted By Rakesh Ranjan
I'm elaborating
Sorry i.pas because i didn't elaborate it might have given u impression that i hadn't put in enough effort. But I would like to make it clear that its not so i've gone through all possible sources...
Forum: Programming 03-14-2006
12,389
Posted By Rakesh Ranjan
Example for use of kernel semaphore
Hi friends I'm doing a project and in that I need to use kernel semaphore but I'm not very clear about how to use it. I've used system V semaphore.
What I find difficult to understand is that in...
Forum: Programming 03-09-2006
3
9,122
Posted By Rakesh Ranjan
bankpro, the function atoi just recognises 1)...
bankpro, the function atoi just recognises
1) An optional string of tabs or spaces
2) An optional sign &
3) A string of digits

And upon recognising it converts it to int otherwise on failure...
Forum: Programming 02-20-2006
2,590
Posted By Rakesh Ranjan
Thanks everyone for viewing and trying to think...
Thanks everyone for viewing and trying to think over it. I got my solution for this strange problem. So that none of u face same problem i'll tell what happened.
I created my kernel module and...
Forum: Programming 01-31-2006
2,590
Posted By Rakesh Ranjan
extending netfilter...plz help
Hello friends i'm trying to extend iptables to include a target by which we can change the packet type field of a packet.
For this i created a kernel module and a userspace extension.
Now i face...
Showing results 1 to 25 of 39

 
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy