f



mmap() ---- Invalid argument(EINVAL) error ..?

Hi
	I am using mmap() like this my intension is to allocate (mSize)memory
with no memory protection and without file descriptor like this:

 pBase =(Ptr) mmap(0, mSize,PROT_NONE,MAP_ANONYMOUS,0,0);

but I am getting an error Invalid argument(EINVAL). Can anybody give
the correct way of doing this? I am using gcc in SOLARIS environment.

Thanks,
Vinu

0
9/20/2005 8:46:17 AM
comp.unix.programmer 10848 articles. 0 followers. kokososo56 (349) is leader. Post Follow

4 Replies
4911 Views

Similar Articles

[PageSpeed] 3

"Vinu" <vinuwarrier@yahoo.com> writes:

>Hi
>	I am using mmap() like this my intension is to allocate (mSize)memory
>with no memory protection and without file descriptor like this:

> pBase =(Ptr) mmap(0, mSize,PROT_NONE,MAP_ANONYMOUS,0,0);

>but I am getting an error Invalid argument(EINVAL). Can anybody give
>the correct way of doing this? I am using gcc in SOLARIS environment.


The file descriptor needs to be -1 when you want anonymous memory
from the paging system.

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Casper
9/20/2005 9:36:02 AM
I used it in this way also

pBase =(Ptr) mmap(0, mSize,PROT_NONE,MAP_ANONYMOUS,-1,0);  still the
result(error) is same Invalid argument(EINVAL).

0
Vinu
9/20/2005 10:05:39 AM
"Vinu" <vinuwarrier@yahoo.com> writes:

>I used it in this way also

>pBase =(Ptr) mmap(0, mSize,PROT_NONE,MAP_ANONYMOUS,-1,0);  still the
>result(error) is same Invalid argument(EINVAL).


What's "mSize"?  Oh, you need to specify exactly one of
MAP_SHARED or MAP_PRIVATE.

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Casper
9/20/2005 11:22:31 AM
Hi,

mSize is the size which I want to allocate
When I used it like this

pBase =(Ptr) mmap(0, mSize,PROT_NONE,MAP_PRIVATE,-1,0); the error is

EBADF(Bad file number)

Thanks,
Vinu

0
Vinu
9/20/2005 12:30:19 PM
Reply:

Similar Artilces:

programm error
Hello sir, i m doing one program shows some error. can u help me? Ie=imread('imd.jpg'); [x,y]=size(Ie); h=x/2; for i=1:x for j=1:y if Ie(i,j)==0 Ic(i,j)=0; else if ((Ie(i+1,j-1)==1)& (Ie(i+1,j+1)==1)) Ic(i,j)=0; else if (((Ie(i+1,j-1)==1)&(i<=h))|(Ie(i+1,j+1)==1) & (i>h)) Ic(i,j)=1; else if (((Ie(i+1,j+1)==1) & i<=h)|| (Ie(i+1,j-1)==1)& (i>h)) Ic(i,j)=-1; end %if end %for end On 2/13/2012 12:12 PM, Gaurav Verma wrote: > Hello sir, > i m doing one program shows some error. > can u help me? .... And how are we to know what error that might be if you provide no clues... -- "Gaurav Verma" <gkumareng@gmail.com> wrote in message news:jhbjpr$pho$1@newscl01ah.mathworks.com... > Hello sir, > i m doing one program shows some error. > can u help me? > > Ie=imread('imd.jpg'); [x,y]=size(Ie); > h=x/2; > for i=1:x > for j=1:y > if Ie(i,j)==0 Ic(i,j)=0; > else if ((Ie(i+1,j-1)==1)& (Ie(i+1,j+1)==1)) There's no such thing as the 0th column of a matrix in MATLAB. The first row/column/element/etc. of an array is row/column/element/etc. 1. *snip* -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com "Gaurav Verma" wrote in message <jhbjpr$pho$1@newscl01ah.mathworks.c...

ERROR: Argument of \@gobble has an extra }.
Hi, How can I fix the error in the following minimal example? Many thanks. The full log of compiling the example can be found on http://pastebin.com/m20c04f33. --8<---------------cut here---------------start------------->8--- \documentclass{scrbook} \makeatletter \renewcommand\section{\@startsection{section}{1}{\z@}% {-3.5ex \@plus -1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\ifnum \scr@compatibility>\@nameuse{scr@v@2.96}\relax \setlength{\parfillskip}{\z@ plus 1fil}\fi \raggedsection \normalfont\sectfont\nobreak\size@section\MakeUppercase% } } \makeatother \begin{document} \chapter{One} \section{Two} \end{document} --8<---------------cut here---------------end--------------->8--- -- ..: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. Leo wrote: > Hi, > > How can I fix the error in the following minimal example? Many thanks. > > The full log of compiling the example can be found on > http://pastebin.com/m20c04f33. > > --8<---------------cut here---------------start------------->8--- > \documentclass{scrbook} > \makeatletter > \renewcommand\section{\@startsection{section}{1}{\z@}% > {-3.5ex \@plus -1ex \@minus -.2ex}% > {2.3ex \@plus.2ex}% > {\ifnum \scr@compatibility>\@nameuse{scr@v@2.96}\relax > \setlength{\parfillskip}{\z@ plus 1fil}\fi > \raggedsection \normalfont\sectfont\nobreak\size@section\MakeUppercase% > } > } > \makeatother > > \begin{d...

ACE programmers guide error ?
Hello, In an example from that file: http://www.cs.wustl.edu/~schmidt/PDF/ACE-tutorial.pdf page 74 --- ACE_Reactor::instance()->register_handler(eh ,ACE_Event_Handler::READ_MASK); ACE_DEBUG((LM_DEBUG,"%s\n",strerror(errno))); /*Invalid argument*/ --- Furthermore, it's a code source given in example... so what's wrong ? Thanks in advance, Anthony ...

Re: UNIX SAS
I believe that message indicates that the work file system is not available to the users. If you can physically see the work drive, then check your permissions (try to create a directory in that space). Sometimes a reboot of the Unix server will clear up the situation as well... Good luck! -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Paul Bartells Sent: Wednesday, August 29, 2007 9:36 AM To: SAS-L@LISTSERV.UGA.EDU Subject: UNIX SAS - Fatal Error Dear Gurus (or should that be Gurii?), Some of my colleagues and I are experiencing problems with our UNIX SAS9.x installation. It was working fine yesterday, and is working today for some users. Apparently we don't have an actual SAS admin (and I'm not sure we have a UNIX admin, either - benefits of outsourcing, I suppose). One support guy says he thinks we lost a drive overnight and that the first ones in may have been ok, but space quickly ran out such that everyone else is getting the following messages: ERROR: Library WORK does not exist. FATAL: Unable to initialize the options subsystem. ERROR: (SASXKINI): PHASE 3 KERNEL INITIALIZATION FAILED. UNABLE TO INITIALIZE THE SAS KERNEL Has anyone experienced a similar situation? What was needed to recover? Any guidance or suggestions would be appreciated. Regards, Paul Bartells TXU Energy Dallas, TX ...

unix perl module install errors
Hello I am trying to install a few modules I downloaded from CPAN but I keep getting errors from "make". I upgraded to perl 5.8.5 this seemed to go fine. The Makefile.PL file seems to work but when I run "make' I get these errors: gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -I/usr/local/include -O -DVERSION=\"2.10\" -DXS_VERSION=\"2.10\" -fPIC "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" SHA1.c cc1: Invalid option `-fno-strict-aliasing' make: *** [SHA1.o] Error 1 I am running Solaris and GNU make 3.80 [I upgraded this too]. Has anyone seen this error, please let me know what I might be missing. It also seems to me that maybe my gcc does not understand "-fno-strict-aliasing" I have tried several modules [Digest::SHA1, HTML::Parser] with all very much the same error. Any clues would be helpful. cheers -James James Marquez wrote: > cc1: Invalid option `-fno-strict-aliasing' I googled a bit for this error message, and the most frequent advice is "your gcc is too old, if it doesn't understand -fno-strict-aliasing. You should upgrade gcc." Regards, Bill K. jamturtle@hotmail.com (James Marquez) wrote in message news:<8e120ba9.0411111436.36709a97@posting.google.com>... > Hello I am trying to install a few modules I downloaded from CPAN but > I keep getting errors from "make". > I have tried several modules [Digest::SHA1, HTML::Parser] with all > ver...

mmap errors when running go-pear
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors when running go-pear.bat: mmap cache can't open phar://go-pear.phar/index.php mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php mmap cache can't open phar://go-pear.phar/PEAR/Start.php There are 20 of these lines. After continuing through the script, it dies with this error: Fatal error: Call to undefined method PEAR_Error::set() in phar://go-pear.phar/PEAR/Start.php on line 263 I can't deploy 5.2.2 until we get this resolved, so we're stuck on 5.2.1. Thanks in advance. --df Dan Fulbright ha scritto: > I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors > when running go-pear.bat: > > mmap cache can't open phar://go-pear.phar/index.php > mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php > mmap cache can't open phar://go-pear.phar/PEAR/Start.php > > There are 20 of these lines. After continuing through the script, it > dies with this error: > > Fatal error: Call to undefined method PEAR_Error::set() in > phar://go-pear.phar/PEAR/Start.php on line > 263 > > I can't deploy 5.2.2 until we get this resolved, so we're stuck on > 5.2.1. > > Thanks in advance. > > --df Hello, exactly the same problem for me...have you solved or have you any advice? Thanks, Paolo > > I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors > > w...

Timer and Too many input arguments error
Hello, I am creating a timer using: HB_TIMER = timer('ExecutionMode','fixedSpacing','BusyMode','drop','Period',4,'TasksToExecute',1,'ExecutionMode','fixedRate'); set(HB_TIMER, 'TimerFcn', {@UpdateTuningCurveHB}); But I keep getting the following error. ??? Error while evaluating TimerFcn for timer 'timer-16' Error using ==> UpdateTuningCurveHB Too many input arguments. There are no input arguments for the function UpdateTuningCurveHB. What's going on? I can not find any documentation on this. I think I am calling it correctly. Any help is greatly appreciated! Thanks, -Dan Daniel wrote: > HB_TIMER = timer('ExecutionMode','fixedSpacing','BusyMode','drop','Period',4,'TasksToExecute',1,'ExecutionMode','fixedRate'); > set(HB_TIMER, 'TimerFcn', {@UpdateTuningCurveHB}); > But I keep getting the following error. > ??? Error while evaluating TimerFcn for timer 'timer-16' > Error using ==> UpdateTuningCurveHB > Too many input arguments. > There are no input arguments for the function UpdateTuningCurveHB. Timer functions use the usual callback calling sequence -- that is, it is always passed at least two arguments, "source" and "event". -- ..signature note: I am now avoiding replying to unclear or ambiguous postings. Please review questions before posti...

On-Chip flash programmer Error #2
I've been trying to Erase, Program, verify a program (COFF file) using On-Chip flash programmer of Code Composer studio. While doing that the following error message pops up: "Flash API Error #14: Unknown Error during Flash operation" In this case, all the options "under flash programmer settings...." are checked. If the display diagnostics option is uncheked, then error message does not pop up and it seems the program is uploaded. But if the proram is run setting a break point the following message comes out. "The target will not be run as the breakpoint could not be moved to a valid line at .......c line 65. It has been disabled." Looks like erasing, programming, and verificationcannot be done using on-chip flash programmer. Any help to overcome the above problem would be greatly appreciated. Related information: Board: eZdsp320F2808 (Rev B) CCS : V3.1 Flash API V3.02 (Both CCS and Flash API are obtained from Spectrum Digital) ...

Compile error: byRef argument type mismatch
I have two functions (one using the other) where I want to pass into it the character A, B, C, D, or F and have it return a Double indicating the minimum score it takes to get that grade. For example, here's a stipped-down version of the first function: private function getComment() Select Case txtTotal ' the value in the text box txtTotal in the report Case Is >= minimumScore(B) getComment = "Good work!" end select. 'etc. end sub Then here's the second function: Private Function minimumScore(GradeLetter As String) as Double Dim db As DAO.Database, rs As DAO.Recordset, StrSQL As String StrSQL = "SELECT tblOptions.minGrade " StrSQL = StrSQL & "FROM tblOptions " StrSQL = StrSQL & "WHERE letterGrade = '" & GradeLetter & "'" Set db = CurrentDb Set rs = db.OpenRecordset(StrSQL, dbOpenDynaset) minimumScore = rs.Fields(0) End Function But it doesn't work. I'm trying to pass a string into the second function (the letter grade) and have it return a double. (like 0.82, for example for a B.) What am I forgetting? Thanks. Rich Hollenbeck How have you defined B? It must be defined as String, since that's what your function is expecting. If you haven't got Option Explicit turned on (and you really should), then B will be a Variant, and you'll get the error message you described. -- Doug Steele, Microsoft Access MVP http...

Error Base/1002 Alias does not exist Arguments: ()
I am busy converting S87 code to xHarbour and have the above error at the following line set relation to TX_NO into E What do I need to change here? Thanks, Don Dear Don: On Sep 15, 12:32=A0pm, Don <donvet...@gmail.com> wrote: > I am busy converting S87 code to xHarbour and > have the above error at the following line > > =A0 =A0 =A0 =A0 =A0 =A0 set relation to TX_NO into E > > What do I need to change here? You need to get it to conform to Clipper 5.3: http://www.itlnet.net/programming/program/Reference/c53g01c/ngef11d.html At some point, Clipper stopped assigning single letter alias names to each work area. By default, an abbreviated version of the dbf file name is used as the alias. This can be changed with the USE ... ALIAS version of the USE command to be something recognizeable / helpful to the programmer. This will apply to indirected references such as E- >TX_NO (not sure if Clipper S'87 had that syntax) also. Work areas do still have numbers, so ALIAS( 5 ) will also work in some circumstances. And that is not to say you cannot just give the file name the appropriate ALIAS to minimize changes: USE <cOriginalFileName> ALIAS E .... but you might benefit from review of these references when updating the code... David A. Smith ...

ORA-00600 Error: arguments: [opibnd0: oaccsid]
I have a perl program using DBD::Oracle and I have a query using the same db handle as another query: for each row from first query, run second query. The second query is this: select user_id from rbac_user_role where user_id > 1 and role_id = ? Which then gives me this: DBD::Oracle::st execute failed: ORA-12801: error signaled in parallel query server P002 ORA-00600: internal error code, arguments: [opibnd0: oaccsid], [1], [1], [1], [], [], [], [] (DBD ERROR: OCIStmtExecute) any ideas? tnjeditor@gmail.com (dan) wrote in message news:<3ae70c4e.0410181813.6cbe4a7d@posting.google.com>... > I have a perl program using DBD::Oracle and I have a query using the > same db handle as another query: > > for each row from first query, run second query. > > The second query is this: > > select user_id from rbac_user_role where user_id > 1 and role_id = ? > > Which then gives me this: > > DBD::Oracle::st execute failed: ORA-12801: error signaled in parallel > query server P002 > ORA-00600: internal error code, arguments: [opibnd0: oaccsid], [1], > [1], [1], [], [], [], [] (DBD ERROR: OCIStmtExecute) > > any ideas? Internal errors and bugs are usually version specific. There is a 9.2.0.5 bug that produces the 00600 first argument: Bug 3356103 - OERI[opibnd0: oaccsid] possible from parallel query. It is fixed in 9.2.0.6. There is also an nls translation bug that can produce this pattern for version 9.0 -...

Please help me,I cannot find the error in the next programm
Well, I am really confused about the next program, Nobody around me can find the error in it, but it cannot run. This is a program about the interupt function in intel 8259 Thanks for your help! ..386 ..model small ..data dw 10 dup(?) ..stack 64 ..code main proc far mov ax,@data mov ds,ax ;sub ax,ax mov ax,0 push ax mov es,ax ;�����ж������� mov di,003ch mov ax,offset output mov [di],ax ;mov ax,seg output mov ax,seg output mov di,003eh mov [di],ax cli ;��ʼ�� mov al,13h out 20h,al mov al,08h out 21h,al ;mov al,04h ;out 21h,al mov al,01h out 21h,al mov al,01111111B out 21h,al delay: nop jmp delay output: sti mov ah,01h mov al,'7' int 10h mov al, 20h out 20h, al iret main endp end main Lighting wrote: > Well, I am really confused about the next program, Nobody around me > can find the error in it, but it cannot run. What do you expect it to do? > This is a program about the interupt function in intel 8259 > Thanks for your help! > > > > .386 > .model small > .data > dw 10 dup(?) > .stack 64 > .code > main proc far > mov ax,@data > mov ds,ax > ;sub ax,ax > mov ax,0 > push ax > mov es,ax > ;构造中断向量表 > mov di,003ch > mov ax,offset output > mov [di],ax This looks...

Spawn-Error: Programmers fault or Bug in TCL
This little programm is an extract of one of my TCL daemons. It terminats with "too many programs spawned? could not create pipe: too many open files" I use ActiveTcl8.4.8.0.119125 I happens on Solaris and Linux. Any idea? exec tclsh "$0" "$@" package require Expect log_user 0 while 1 { spawn date expect { timeout {set erg TIMEOUT } eof { set lines $expect_out(buffer); set erg EOF} } catch {close } msg puts $msg } Regards TAB "Tillmann Basien" <tab@basien n0spam.de> wrote: >exec tclsh "$0" "$@" >package require Expect >log_user 0 >while 1 { >spawn date >expect { > timeout {set erg TIMEOUT } > eof { set lines $expect_out(buffer); set erg EOF} >} >catch {close } msg exp_wait >puts $msg >} spawns need to be cleaned up. An [exp_close] will close the channel, but the system must be allowed to reap it with [exp_wait]. -- David Gravereaux <davygrvy@pobox.com> [species: human; planet: earth,milkyway(western spiral arm),alpha sector] Thanks to David!!! This helps a lot! TAB "David Gravereaux" <davygrvy@pobox.com> schrieb im Newsbeitrag news:3e3sq05tb98kma1b3hgtab48qdirhb1e7g@4ax.com... > "Tillmann Basien" <tab@basien n0spam.de> wrote: > > >exec tclsh "$0" "$@" > >package require Expect > >log_user 0 > >while 1 { > >spawn date > >expect { &g...

Re: ERROR: Error fetching from cursor. ORACLE error is ORA-01555:
In my experience, this occurs when you are asking Oracle to do too much, as in joining two large tables. Even with where clauses the processing can take too much time. You can post the code but you really need to take your query to your DBA and ask what can be done with it. Clint -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of Kishore Kumar Sent: Thursday, May 11, 2006 2:16 AM To: SAS-L@LISTSERV.UGA.EDU Subject: ERROR: Error fetching from cursor. ORACLE error is ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2$" too small. Can some one help me. I am unable to solve this problem. when i am executing my program with obs=1 Crore it is working fine , but for obs=max i am unable to execute. I am getting an error like this:- ERROR: Error fetching from cursor. ORACLE error is ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2$" too small. Please suggest me some thing???? Waiting for your feedback. Regards, Kishore.K --------------------------------- How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates. ...

Error using ==> nanmean Too many input arguments.
Hello, I'm pretty new to matlab and have read the help manual for nanmean, inspected the variables in question, and made sure there are no other files named 'nanmean' (from other "too many arguments" posts it seems the wrong path is listed or there is something else using the same name), but I continue to get the error: Error using ==> nanmean Too many input arguments. Error in ==> monthlyaverage at 18 xm(i) = nanmean(precip{mo==i}); The code in question is: [yr,mo] = datevec(newdate, 'dd-mm-yyyy'); % d must be array of strings, xm = zeros(12,1); for i = 1:12 xm(i) = nanmean(precip{mo==i}); %Logical indexing of months end precip is an array of <1x14375 cell> int32 elements >> class(precip) ans = cell >> class(precip{1}) ans = int32 The majority of them are empty >> precip{1} ans = Empty matrix: 0-by-1 I appear to be using only the appropriate nanmean and do not find other files named nanmean in the path. >> which nanmean C:\Program Files\MATLAB\R2008b\toolbox\stats\nanmean.m Checking these things seemed to be a common procedure in other threads with 'too many input arguments', but I'm not sure where to go from here. Thanks in advance for any help! "Giusep " <lyngly@ymail.com> wrote in message news:jfrqpm$64g$1@newscl01ah.mathworks.com... > Hello, > > I'm pretty new to matlab and have read the help manual f...

expression template, two arguments, partial specialisation error
Hi, I'm trying to use expression templates to calculate values at compile time. Doing it with just one parameter is no problem: ///Begin Listing 1 #include <iostream> using namespace std; template <int n> void UNROLL(){ cout << "n = " << n << endl; UNROLL<n-1>(); } template <> void UNROLL<0>() { cout << "Hit Zero!" << endl; } int main(){ UNROLL<10>(); return 0; } ///Begin Listing 1 However, if I want to use two parameters, I have to explicitly set both in the abortion rule like this: ///Begin Listing 2 #include <iostream> using namespace std; template <int n, int m> void UNROLL(){ cout << "m*n = " << m*n << endl; UNROLL<n, m-1>(); } template <> void UNROLL<5, 0>() { cout << "Hit Zero!" << endl; } int main(){ UNROLL<5, 10>(); return 0; } //End Listing 2 Of course, this is not what I want, I want the recursion to abort with n == (any value) and m == 0. I tried to change the second program like this: template <int n> void UNROLL<n, 0>() { cout << "Hit Zero!" << endl; } But this gives me the error temprektest_func.cpp:12: error: partial specialization `UNROLL<n, 0>' of function template and more errors about exceeding the maximum instantiation depth of templates. I tried google first. I did not find anything exactly like...

do professional PHP programmers use error checking in their code?
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project where someone suggested to me I was spending too much time writing error messages, and that I was therefore missing the benefit of using a scripting language. The idea, apparently, is that the PHP interpreter writes all the error messages that are needed, and that I shouldn't write such code myself. I was given the impression that if I needed extensive error checking, or strict typing, then I should use a real language, like Java, but if I'm going to use a scripting language like PHP or Ruby, then I should leave errors to the interpreter, since the whole point of using scripting languages is speed of development. Has anyone else heard this argument, and do you agree with it? I'm wondering how other PHP programmers handle error messages. Check everything or leave it to the PHP interpreter to tell you when there is an error? Which of these two functions is better, the one with error checking or the one without? function getWeblogEntries() { $query = "SELECT * FROM weblogs"; $result = mysql_query($query); $howManyWeblogEntries = mysql_num_rows($result); for ($i=0; $i < $howManyWeblogEntries; $i++) { $row = getRow($result); extract($row); echo "<h1>$headline</h1>"; echo "...

Unix and Ada Programmer/Analyst with CSC @ Rockville MD
We have Need for a UNIX and Ada Programmer/Analyst with a CSC at Rockville MD for a 6 months + assignment. Find the job description below for your ready reference and let me know if you would be interested for this role. Need for a UNIX and Ada Programmer/Analyst with a CSC at Savannah, GA for a 6 months + assignment Title: UNIX and Ada Programmer/Analyst Location: Rockville MD Duration: 6 Months + US CITIZENS ONLY Note: 1st shift extra hours may be required to meet deadlines Security Clearance: 85 P form and fingerprinting =B7 Advanced programmer/analyst needed who will perform software development or software development support activities using the Ada programming language. =B7 Needs to be an experienced user of UNIX and Ada, and have solid programming experience in large scale development. =B7 Knowledge of air traffic control systems development a plus. =B7 Candidate must have experience developing large systems and be able to work with a large team of developers. =B7 Candidate must have knowledge of software development methodologies. =B7 BS degree in Computer Science, IT, or other technical field required. Skill Required: UNIX and ADA Programming Atul Bhardwaj | Manager Recruiting | Mastech Inc. | Direct: 412-567-3773 | Toll-free: 866-411-3088 Ext. 2151 | Fax: 412-291-3059 | Email: atul.bhardwaj@mastech.com | Web: www.mastech.com | 1000 Commerce Drive, Suite 500 | Pittsburgh, PA 15275 | ...

How to pass in arguments from unix script to INFORMIX 4GL program
Let me explain the background of my problem before I post any question: I have a few programs as below: Program id: onkey.4gh -------------------------------- ..... ..... on key (F8) let g_onkey = 8 ..... Program id: hotkeys.h ------------------------------ ..... #define F8_KEY 8 ...... Main Program id: Prog.4gl ------------------------------------- #include hotkeys.h Function input_scr() display form input array arr1 without defaults from sa_arr1 ....... ...... #include "onkey.4gh" case when (g_hotkey = F8_KEY) call generate_rpt() end case ....... End Function Problem: ------------ I wish to automate this INFORMIX 4GL program by passing in the input values as an arguments from a calling unix scripts. The sequence INFORMIX 4GL screen input will be as below: 1. enter screen array with 2 fields - account No, account name e.g of the input screen will be Account No Account Name [A ] [A/C Name A] [B] [A/C Name B] [C] [A/C Name C] 2. press F8 ctrl-key to generate the report My unix script (korn shell) will be something as below: ksh -c "echo <array input value><F8 ctrl-key> |/proj/prog.exe " << ^M ! Note: /proj/prog.exe is my INFORMIX-4GL executable. Question: 1. How to pass in a set of <array input value> from the scripts to an informix 4GL program? 2. The input arr...

configure: error --- compile error
can u help me and guide a litte bit? please. [root@home cyrus-imapd-2.1.15]# ./configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for makedepend... /home/auser/cyrus-imapd-2.1.15/tools/not-mkdep configure: warning: Makedepend is not installed on this system. You should compile and install the version from the makedepend subdirectory. checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for AIX... no checking for strerror in -lcposix... no checking for mawk... no checking for gawk... gawk checking for working const... yes checking for long file names... yes checking for __attribute__... yes checking if compiler supports -fPIC... yes checking for runpath switch... -Wl,-rpath, checking for unistd.h... yes checking for sys/select.h... yes checking for sys/param.h... yes checking for stdarg.h... yes checking for memmove... yes checking for strcasecmp... yes checking for ftruncate... yes checking for strerror... yes checking for strlcat... no checking for strlcpy... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for connect... yes...

command line argument getting compile error after XP conversion
I have been using command line arguments in VB6 successfully until we converted to windows XP. Now I get a Can't Find Project or Library compile error when I try to compile my programs. I didn't change anything, but can't recompile. Any idea what reference this is looking for or what may be causing this? Thanks in advance for your help. maria.markoff@columbiamanagement.com's wild thoughts were released on 8 Aug 2006 11:26:42 -0700 bearing the following fruit: >I have been using command line arguments in VB6 successfully until we >converted to windows XP. Now I get a Can't Find Project or Library >compile error when I try to compile my programs. I didn't change >anything, but can't recompile. Any idea what reference this is looking >for or what may be causing this? > >Thanks in advance for your help. Have you looked at the references list? Jan Hyde (VB MVP) -- What does the dentist of the year get?. A little plaque (Phillip Thompson) ...

Unix and Ada Programmer/Analyst with CSC @ Rockville MD #2
------=_Part_30418_11275723.1156530033740 Content-Type: multipart/alternative; boundary="----=_Part_30419_29207973.1156530033740" ------=_Part_30419_29207973.1156530033740 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Folks, This is Atul Bharwaj from iGate Mastech.=20 We are iGate Mastech, a $ 100 million company headquartered in Pittsburgh,P= A. iGate is a U.S.-based, publicly traded company (NASDAQ: IGTE) with More = than 40 offices spanning five continents. Since 1986, iGate Mastech (=13Mas= tech=14) has provided the professional technical and functional talent clie= nts require to ensure on time and on budget project completion.For nearly 2= 0 years, Fortune 500 corporations have selected Mastech as the =11Partner o= f Choice=12 for Custom and Packaged Implementation of the technologies that= drive their businesses. We have Need for a UNIX and Ada Programmer/Analyst with a CSC at Rockville = MD for a 6 months + assignment. Find the job description below for your rea= dy reference and let me know if you would be interested for this role. =20 =20 Title: UNIX and Ada Programmer/Analyst Location: Rockville MD Duration: 6 Months + US CITIZENS ONLY Note: 1st shift extra hours may be required to meet deadlines Security Clea= rance: 85 P form and fingerprinting =20 Advanced programmer/analyst needed who will perform software development or= software development support activities usin...

Quartus 5.0sp1 -- Error: Unexpected error in JTAG server -- error code 33
I figure I should finally ask about this problem that I've had with every Quartus version I've used (since pre-4.2): The built-in programmer in Quartus stops working after a few sessions -- always. Typically I get one or two successful programming done (using a Nios Dev kit, Cyclone ed) before it fails with: Info: Started Programmer operation at Mon Jul 11 20:54:11 2005 Error: Unexpected error in JTAG server -- error code 33 Error: Operation failed Info: Ended Programmer operation at Mon Jul 11 20:54:11 2005 At this point any attempt at programming is futile and will just repeat the error above. However, closing the programmer window/tab and relaunching Tools/Programmer makes it work again for a bit. It's really kind of annoying, but googling for a solution to the problem didn't turn up anything. While we're at it, why isn't the programmer integrated into the build instead of forcing a manual invokation? Thanks, Tommy (fpga at numba-tu.com) "Tommy Thorn" <foobar@nowhere.void> schrieb im Newsbeitrag news:QAHAe.3899$p%3.23990@typhoon.sonic.net... > I figure I should finally ask about this problem that I've had with > every Quartus version I've used (since pre-4.2): The built-in programmer > in Quartus stops working after a few sessions -- always. Typically I > get one or two successful programming done (using a Nios Dev kit, > Cyclone ed) before it fails with: > > Info: Started Prog...

creating perl binary using PAR module , execution error under unix
Hai all, I have created a perl executable application using PP,the application includes Curses:UI modules. ###Created the binary file by using the following command $pp myscript.pl ## produces the file a.out ###When I run this file by using command below $a.out ##gives the following error message Can't open Curses/UI/Language/english.pm: No such file or directory at Curses/UI/Language.pm line 96 ## I also tried to compile with -M option $PP -M Curses/UI/Language/english.pm myscript.pl ## produces the file a.out ##when running a.out it also gives the same error message. $ ldd a.out ## shows the following a.out needs: /usr/lib/libsocket.so.2 /usr/lib/libm.so.1 /usr/lib/libc.so.1 /usr/lib/libsocket.so.2 needs: /usr/lib/libresolv.so.1 using perlcc I could compile and run the program without any problem but its not portable. Help me to to comple my perl progam with PP This is perl, v5.8.0 , Curses::UI-0.96, PAR 0.977 Thanks in advance, Sibu.N.L On Mar 15, 10:06=A0pm, Sibu <sib...@gmail.com> wrote: =2E =2E > > ## I also tried to compile with -M option > > $PP -M Curses/UI/Language/english.pm myscript.pl By my reading of the pp documentation ( at http://search.cpan.org/~smueller/PAR-Packer-0.978/lib/pp.pm ), the correct way to pack Curses/UI/Language/english.pm into the executable would be: $PP -M Curses::UI::Language::english myscript.pl but I wonder if you might be better served by: $PP -M Curses::...

CSQL-F-16:UNIX Exec error Return Code is 1035
I am unable to compile Cobol program using MF Server express on AIX server. The code compiles fine on Net Express Windows. Below is our compilation directive file. p(cobsql) csqlt=ORACLE8 dis sqldebug end-c mode=ORACLE PREFETCH=55 comp5=yes HOLD_CURSOR=NO sqlcheck=full Userid=regu34/autumn@dev01 p(cp) sy endp copyext(CPY) osext(pco,PCO) apost IBMCOMP list() WARNING ODOSLIDE CONSTANT OS"UNIX" CONSTANT NODAS"0" Can any one help us. Adios Pradeep Goel On 10 Jan 2005 21:02:33 -0800, "pradeep" <goelpradeep@gmail.com> wrote: >I am unable to compile Cobol program using MF Server express on AIX >server. The code compiles fine on Net Express Windows. > >Below is our compilation directive file. > >p(cobsql) csqlt=ORACLE8 dis sqldebug end-c mode=ORACLE PREFETCH=55 >comp5=yes HOLD_CURSOR=NO sqlcheck=full Userid=regu34/autumn@dev01 p(cp) >sy endp >copyext(CPY) osext(pco,PCO) apost IBMCOMP list() WARNING ODOSLIDE >CONSTANT OS"UNIX" >CONSTANT NODAS"0" > >Can any one help us. What do the error messages say? On 10 Jan 2005 21:02:33 -0800, "pradeep" <goelpradeep@gmail.com> wrote: >I am unable to compile Cobol program using MF Server express on AIX >server. The code compiles fine on Net Express Windows. > >Below is our compilation directive file. > >p(cobsql) csqlt=ORACLE8 dis sqldebug end-c mode=ORACLE PREFETCH=55 >comp5=yes HOLD_CURSOR=NO sqlcheck=full...

Web resources about - mmap() ---- Invalid argument(EINVAL) error ..? - comp.unix.programmer

Tax protester administrative arguments - Wikipedia, the free encyclopedia
Tax protesters in the United States make a number of administrative arguments that the assessment of the federal income tax in the United States ...

Brisbane news: Man killed in argument in Murrarie - The Courier-Mail Search Search
A MAN has been charged with manslaughter over the death of his housemate in East Brisbane overnight.

Argument escalates into shooting outside Memorial City Mall
Police say an argument escalated into a shooting outside Memorial City Mall Friday evening, and the gunmen are still on the run.

The "startling moment" in the argument about Obamacare and religious accommodations when Justice Kennedy ...
Lyle Denniston describes today's oral argument in Zubik v. Burwell : “Hijacking” is what a long list of religious institutions that object for ...

Anderson Cooper to Donald Trump: 'That's the argument of a 5-year-old'
CNN anchor Anderson Cooper mocked Donald Trump on Tuesday for using a childish argument to defend a tweet about the wife of one of his rivals ...

Judge puts prosecutor on spot over Madoff trial arguments
NEW YORK (AP) — Federal appeals judges challenged a prosecutor on Tuesday to admit the government might have gone too far when it alluded to ...

Former CIA Director Blasts Obama For ‘Straw Man’ Arguments In Fight Against Islamic Terrorism
Former CIA Director Blasts Obama For ‘Straw Man’ Arguments In Fight Against Islamic Terrorism

Obamacare birth control mandate arguments hinge on 'burden' and what's 'objectionable'
The Supreme Court heard arguments in Zubik v. Burwell Wednesday, the case in which a number of non-profits are arguing against a provision of ...

Three Arguments For and Against Toyota Buying Robot Company Boston Dynamics From Google
Boston Dynamics' Cheetah Robot runs during a demonstration at the finals of the DARPA Robotics Challenge - Credit: MARK RALSTON/AFP/Getty Images ...

John Kasich Goes Off On ‘Absurd’ Arguments For Him To Drop Out Of Presidential Race
Ohio Gov. John Kasich (R) angrily rejected Sen. Ted Cruz’s (R-Texas) calls for him to abandon the presidential race, insisting that he is the ...

Resources last updated: 3/30/2016 3:43:55 PM