home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gcc / help / 2881 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  45 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!rook.ukc.ac.uk!eagle.ukc.ac.uk!lcw
  2. From: lcw@ukc.ac.uk (L.C.Walton)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Help with libc.a
  5. Message-ID: <2668@eagle.ukc.ac.uk>
  6. Date: 8 Jan 93 12:51:40 GMT
  7. Sender: lcw@ukc.ac.uk
  8. Organization: Computing Lab, University of Kent at Canterbury, UK.
  9. Lines: 33
  10. Nntp-Posting-Host: eagle.ukc.ac.uk
  11.  
  12. I am having some problems installing the standard library (libc.a ver 1-05) on
  13. my system. The setup is as follows:
  14.  
  15.         sparc (sun4) with sunos 4.1
  16.         gcc 2.3.3 and gnu make.
  17.  
  18. The library is built with no major problems (except some warning messages).
  19. The problems start when I go to install it using `make install'.
  20.  
  21. 1    The zoneinfo files don't get built and zic crashes with s seg fault.
  22. 2    ranlib dose not get run on the library when it is moved (not really a prob)
  23. 3    When I then go to compile a simple test prog, eg gcc test.c
  24.  
  25. ---------------------------- test.c ----------------------------------------------
  26.  
  27.         #include <stdio.h>
  28.         main()
  29.         {
  30.             printf("Hello World\n");
  31.         }    
  32.     
  33.     I get the following
  34.         
  35.         ld: Undefined symbol
  36.            start
  37.            .udiv
  38.         ld: entry point not in test
  39.  
  40. ---------------------------- test.c ----------------------------------------------
  41.  
  42. Any ideas what I did wrong.
  43.  
  44.         Thanks in advance.
  45.