home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12844 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.9 KB  |  40 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
  3. From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
  4. Subject: Re: Programming problems
  5. Message-ID: <1992Nov12.184857.28336@alchemy.chem.utoronto.ca>
  6. Keywords: X11, F77
  7. Organization: University of Toronto Chemistry Department
  8. References: <Hendrik.Klompmaker.9.721576035@beheer.zod.wau.nl>
  9. Date: Thu, 12 Nov 1992 18:48:57 GMT
  10. Lines: 28
  11.  
  12. In article <Hendrik.Klompmaker.9.721576035@beheer.zod.wau.nl> Hendrik.Klompmaker@beheer.zod.wau.nl (<Hendrik Klompmaker>) writes:
  13. >We have a little problem while running a 120Mb fortran on our 730 with 128Mb 
  14. >of ram. The program crashes in a coredump with 'segmentation violation'. If 
  15. >we decrease the size of the program a little (20 Mb) it will run. Any idea 
  16. >why this problem occurs and what to do about it except decreasing the size 
  17. >of the program.
  18.  
  19. You probably need to increase 'maxdsize' to increase the user data space
  20. (do it with SAM). It could be maxssiz if you allocate a lot of
  21. arrays on the stack, but not likely to be maxtsiz (code size).
  22.  
  23. >The next problem has to do with X11. I downloaded some files like xdaliclock 
  24. >and tried to compile them. The X11.h files are on the usr/include/X11R4/X11 
  25. >directory but while compiling they cannot be found. I'm new to C programming 
  26. >so don't know how to solve this problem.
  27.  
  28. Try setting $CCOPTS and $LDOPTS to:
  29.  
  30. "-Aa -D_HPUX_SOURCE -I /usr/include/X11R4 -I /usr/include/Motif1.1 | "
  31. "-L /usr/lib/X11R4 -L /usr/lib/Motif1.1 -L /usr/local/lib"
  32.  
  33. respectively (drop -Aa and -D_HPUX_SOURCE if you don't want ANSI C
  34. by default). Soon you will run into the missing header file problem
  35. that has been debated here for the past few weeks - I wish HP would
  36. just supply the files and save users lots of grief !!!
  37. -- 
  38. What are the chances that any HP computer system will ever "work" properly?
  39. ... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
  40.