home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / 6187 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.9 KB  |  50 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!van-bc!rsoft!agate!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!gmd.de!hephaistos!prinz
  3. From: prinz@hephaistos.gmd.de (Wolfgang Prinz)
  4. Subject: Re: Help: Ontos and SunOS 4.1.2
  5. Message-ID: <prinz.714223061@hephaistos>
  6. Sender: news@gmd.de (USENET News)
  7. Nntp-Posting-Host: hephaistos
  8. Organization: GMD, Sankt Augustin, Germany
  9. References: <igrdb.714043515@hrz.tu-chemnitz.de>
  10. Date: Wed, 19 Aug 1992 11:17:41 GMT
  11. Lines: 37
  12.  
  13. igrdb@informatik.tu-chemnitz.de (Ingo Gringer) writes:
  14.  
  15. >since a few days we have run the version 4.1.2 of SunOS. Our Ontos
  16. >2.2 runs under the antecedent OS  without problems, but now every
  17. >trial to get a compiled application fails.
  18.  
  19. >The errors I receive are no of reloc y !=  no of reloc z, segmentation
  20. >fault, arithmetic exeception and other probably accidently failures.
  21.  
  22. >The software distributor told me that there is a bug in the new SunOS 
  23. >which will repaired by a patch from SUN (which?).
  24.  
  25. >Has anyone get a application ready under this circumstances?
  26. >HOW??? Static linking and use the old linker of 4.1.1 generates other
  27. >errors (again no of reloc.. and version mismatch in compiler/linker).
  28.  
  29. Just today I've experienced the same problem when I switched from
  30. static binding to dynamic binding. After some testing I've found out
  31. that it is the ONTOS library that causes the problems. The workaround I
  32. use is to link this library statically by explicitly refering to
  33. libONTOS.a instead of -lONTOS.
  34.  
  35. A colleague of mine had the same problems with other libraries. His
  36. assumption is that this behaviour is caused by "extern" definition
  37. which cannot be resolved correctly in the shared library. The old SunOS
  38. 4.1.2 linker didn't probably check this. However the error message
  39. produced by the linker seems to be very strange.
  40.  
  41. Hope this helps
  42.  
  43.  
  44. Wolfgang Prinz
  45. GMD
  46. Schloss Birlinghoven        Tel.: +49 2241 14 2730
  47. 5205 St. Augustin, Germany    mail: prinz@fit.gmd.dbp.de
  48. --
  49.  
  50.