SUMMARY: Kernel Compilation Error

From: System Admin (root@ksm.my)
Date: Fri Sep 02 1994 - 10:00:19 CDT


SUN Managers,

      The right answer comes from casper@fwi.uva.nl, the error
  "ld: undefined symbol ..." appear because they're using the
  GNU "make" instead of SunOS "make", and all I have to do just
  use the "/usr/bin/make" to compile the kernel.

  Thanks to:
  
  Jeff LaCoursiere z056716@uprc.com
  Mark Allyn allyn@netcom.com
  Nate Itkin nitkin@ptdcs2.intel.com
  Greg gnb@melba.bby.com.au
  Colin Colin.Panisset@nms.otc.com.au
  Gene Loriot epl@Kodak.COM
  Zia iqbalz@cnt.gs.com
  Danny dan@engr.LaTech.edu
  athena!sse.com!johnm@rambone.psi.net
  Casper casper@fwi.uva.nl

Thank you.

regards

rosley@ksm.my
-------------------------------------------------------------------------------
           ______ ______
          / / / /
         / / / / Mohd Rosley Omar KOMPUTER SISTEM MALAYSIA
        / / / / e-mail: rosley@ksm.my 8 Jln 13/6
 _____ / / \ \ systems engineer 46200 Petaling Jaya
| |\ \ \ \ system administrator Selangor D E
| | \ \ \ \ MALAYSIA
| | \ \ / / Tel: 603-756 9666
|_____| \_____\/_____/ Fax: 603-756 9879 http://ksm.my
                                                                    

==============================================================================
ORIGINAL QUESTION:

SUN Managers,

   I try to generate a new kernel (vmunix) on SparcStation 10 running
   SunOS 4.1.3, When I ran "make" I received this output (below),
   Is this mean some of the library is missing/deleted ?
   if yes, can someone tell me what library ? please...

   Sorry for the long output.

Thanks in advance.

regards

rosley@ksm.my

-------------------------------------------------------------------------------
OUTPUT:

[snip...snip...]
cc -sparc -I. -c -O -Dsun4m -DGENERIC -DSUN4M_50 -DSUN4M_690 -DWINSVJ -DVDDRV -DASYNCHIO -DLWP -DVFSSTATS -DRFS -DCRYPT -DTCPDEBUG -DIPCSHMEM -DIPCSEMAPHORE -DIPCMESSAGE -DSYSAUDIT -DSYSACCT -DPCFS -DHSFS -DTMPFS -DTFS -DLOFS -DNFSSERVER -DNFSCLIENT -DUFS -DQUOTA -DINET -DMULTIPROCESSOR -DKERNEL -I. -I.. -I../.. confvmunix.c
loading vmunix
ld: Undefined symbol
   _prom_idlecpu
   _prom_stopcpu
   _prom_get_boot_dev_name
   _prom_get_boot_dev_unit
   _prom_childnode
   _prom_getprop
   _prom_nextnode
   _prom_alloc
   _prom_get_boot_dev_part
   _prom_bootpath
   _prom_stdout_is_framebuffer
   _prom_stdin_stdout_equivalence
   _prom_stdin_is_keyboard
   _prom_get_stdin_subunit
   _prom_stdoutpath
   _prom_getproplen
   _prom_get_stdin_unit
   _prom_get_stdin_dev_name
   _prom_enter_mon
   _prom_resumecpu
   _prom_printf
   _prom_mayput
   _prom_reboot
   _prom_sethandler
   _prom_map
   _prom_putchar
   _prom_getchar
   _prom_exit_to_mon
   _prom_init
   _prom_writestr
   _prom_bootargs
   _prom_startcpu
   _prom_getversion
   _prom_setprop
   _prom_nextprop
   _prom_get_stdout_subunit
   _prom_get_stdout_unit
   _prom_get_stdout_dev_name
make: *** [vmunix] Error 2

===============================================================================
ANSWER:

>From casper@fwi.uva.nl Thu Sep 1 19:12 SST 1994
Resent-Time: Thu, 01 Sep 1994 13:15:37 +0200
X-Organisation: Faculty of Mathematics & Computer Science
                University of Amsterdam
                Kruislaan 403
                NL-1098 SJ Amsterdam
                The Netherlands
X-Phone: +31 20 525 7463
X-Telex: 10262 hef nl
X-Fax: +31 20 525 7490
To: root@ksm.my (System Admin)
X-Orig-Cc: sun-managers@ra.mcs.anl.gov
Subject: Re: Kernel Compilation Error

>
>SUN Managers,
>
> I try to generate a new kernel (vmunix) on SparcStation 10 running
> SunOS 4.1.3, When I ran "make" I received this output (below),
> Is this mean some of the library is missing/deleted ?
> if yes, can someone tell me what library ? please...
>
> Sorry for the long output.

I'm not sure whether you've already received a response or send out a summary.

You problem is using GNU make instead of SunOS make.

Casper

===============================================================================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:08 CDT