home *** CD-ROM | disk | FTP | other *** search
- 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
- From: lcw@ukc.ac.uk (L.C.Walton)
- Newsgroups: gnu.gcc.help
- Subject: Help with libc.a
- Message-ID: <2668@eagle.ukc.ac.uk>
- Date: 8 Jan 93 12:51:40 GMT
- Sender: lcw@ukc.ac.uk
- Organization: Computing Lab, University of Kent at Canterbury, UK.
- Lines: 33
- Nntp-Posting-Host: eagle.ukc.ac.uk
-
- I am having some problems installing the standard library (libc.a ver 1-05) on
- my system. The setup is as follows:
-
- sparc (sun4) with sunos 4.1
- gcc 2.3.3 and gnu make.
-
- The library is built with no major problems (except some warning messages).
- The problems start when I go to install it using `make install'.
-
- 1 The zoneinfo files don't get built and zic crashes with s seg fault.
- 2 ranlib dose not get run on the library when it is moved (not really a prob)
- 3 When I then go to compile a simple test prog, eg gcc test.c
-
- ---------------------------- test.c ----------------------------------------------
-
- #include <stdio.h>
- main()
- {
- printf("Hello World\n");
- }
-
- I get the following
-
- ld: Undefined symbol
- start
- .udiv
- ld: entry point not in test
-
- ---------------------------- test.c ----------------------------------------------
-
- Any ideas what I did wrong.
-
- Thanks in advance.
-