Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DMMIG

  1. DMMIG

    sprintf issue

    Joel/ArkM, Thank you for the pointers. I just found the solution. Sorry for being so dumb, but I forgot the fundamentals of C. I did not NUL terminate the string after the strcpy call and if you don't C fills the memry with garbage.
  2. DMMIG

    sprintf issue

    ArkM,Thanks for replying. 1) If your reasoning is correct why does adding just sprintf change every thing. It becomes more strange after this. #include <stdio.h> #include<stdlib.h> main (){ char mr[18],wmr[18];int imr = 0;char pcs[] = "H5146B2";char pi[]="210023610512918234"...
  3. DMMIG

    sprintf issue

    Missed a point, this code is executed On HP-UX B.11.23 U ia64
  4. DMMIG

    sprintf issue

    Can some body please help me here. I am just lost. #include <stdio.h> #include<stdlib.h> main (){ char mr[18],wmr[18];int imr = 0;char pcs[] = "H5146B2";char pi[]="210023610512918234"; printf("Id = %s, pcs = %s \n",pi,pcs); imr = atoi((char *)(strncpy((char *)(mr),(char *)pi+7,2))) + 2000...
  5. DMMIG

    Execution Error

    I need a small information. I got the following error when I executed on of my programs. Can you please help me in debugging this? Program received signal SIGBUS, Bus error si_code: 1 - BUS_ADRALN - Invalid address alignment. 0x9fffffffec0f8be0:0 in lfind+0x40 () from...
  6. DMMIG

    C compiling questions

    Salem, This is the information. HP-UX B.11.23 U ia64 0337606528 . I did not see the same warning on HP-UX B.11.00 U 9000/800 1168911567 . Thanks, Mallik.
  7. DMMIG

    C compiling questions

    I cleared the first error. Can omebody explain the reason for the second message?
  8. DMMIG

    C compiling questions

    I am getting the following warnings, compiling C programs. 1)warning #2225-D: the format string ends before this argument 2)procedure main: warning #11013-D: Exceeding memory limits; some optimizations skipped. There is no override...
  9. DMMIG

    Begginer

    Thanks k5tm.
  10. DMMIG

    Begginer

    Can somebody suggest a good start for me on XML? I am a C programmer. I have a little idea of Java programming as well. Thanks in Advance.
  11. DMMIG

    ld: Can't find library or mismatched ABI

    Hi, I am getting this error when I am compiling C programs. Can somebody help me in this regard. Thanks in advance.
  12. DMMIG

    Monitoring errors

    As deFranze explained you can use a file for your systems to get the output out and write a cron job to monitor the same, whatever time interval you want, use the sendmail or mailx to send you emails. We are using one such process.
  13. DMMIG

    HP-UX B.11.23 U ia64

    Hi, I compiled thie object library (liboBW.a) on a HP-UX B.11.23 U ia64. I am trying to link it to a machine (B.11.00 U 9000/800), when I got this error. Can somebody help me? /usr/ccs/bin/ld: /opt/mms/wvs/Kom/liboBW.a: Not a valid library (invalid magic n umber). Possibly a 64-bit PA archive...

Part and Inventory Search

Back
Top