Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compiling linux-2.1.23
@ 1997-01-28  1:28 Pablo Manalastas
  0 siblings, 0 replies; only message in thread
From: Pablo Manalastas @ 1997-01-28  1:28 UTC (permalink / raw)


I got the unpatched original source code of linux-2.1.23 from
nic.funet.fi:/pub/Linux/PEOPLE/Linus/v2.1.  I did a 'make config'
for our Jensen box.  Here are the highlights of the .config file:

  CONFIG_MODULES=y
  CONFIG_NATIVE=y
  CONFIG_ALPHA_JENSEN=y
  CONFIG_ALPHA_NEED_ROUNDING_EMULATION=y
  CONFIG_ALPHA_SRM=y
  CONFIG_NET=y
  CONFIG_SYSVIPC=y
  CONFIG_BINFMT_AOUT=y
  CONFIG_BINFMT_ELF=y
  CONFIG_BLK_DEV_FD=y
  CONFIG_BLK_DEV_RAM=y
  CONFIG_INET=y
  CONFIG_PATH_MTU_DISCOVERY=y
  CONFIG_IP_NOSR=y
  CONFIG_SKB_LARGE=y
  CONFIG_SCSI=y
  CONFIG_BLK_DEV_SD=y
  CONFIG_BLK_DEV_SR=y
  CONFIG_SCSI_AHA1740=y
  CONFIG_NETDEVICES=y
  CONFIG_NET_ETHERNET=y
  CONFIG_NET_ISA=y
  CONFIG_DEPCA=y
  CONFIG_EXT2_FS=y
  CONFIG_FAT_FS=y
  CONFIG_MSDOS_FS=y
  CONFIG_PROC_FS=y
  CONFIG_NFS_FS=y
  CONFIG_ISO9660_FS=y
  CONFIG_SERIAL=y
  CONFIG_PRINTER=y
  CONFIG_MOUSE=y
  CONFIG_PSMOUSE=y

When I did a 'make dep' I got the error message that <linux/timespecbits.h>
could not be found, and so I copied 'timespecbits.h' from the older
linux/axp-2.0.28 that I successfully compiled earlier.

Then I did a 'make boot', which exited with the error that the file
arch/alpha/kernel/bios32.c had a symbol 'asmlinkage' which was not defined.
So I applied the following change to bios32.c:

37c37
< #include <linux/linkage.h>

---
> 

I did a 'make boot' again, and this time the compile proceeded without
errors.

I used aboot to boot the new version-2.1.23 vmlinux.gz, and it seems
to be working fine, so far.

I am worried, though, about the following compile messages that I got:

>depca.c: In function `depca_rx':
>depca.c:909: warning: `pkt_len' might be used uninitialized in this function
>depca.c:910: warning: `skb' might be used uninitialized in this function
>...
>/usr/src/linux/include/linux/skbuff.h:449: warning: `tmp' might be used uninitialized in this function
>depca.c: In function `depca_dbg_open':
>depca.c:1639: warning: unsigned int format, different type arg (arg 2)
>...
>skbuff.c: In function `skb_copy':
>skbuff.c:768: warning: `offset' might be used uninitialized in this function
>skbuff.c: In function `skb_realloc_headroom':
>skbuff.c:826: warning: `offset' might be used uninitialized in this function
>...
>af_unix.c: In function `unix_stream_connect1':
>af_unix.c:623: warning: `skb' might be used uninitialized in this function
>...
>af_unix.c:692: warning: `newsk' might be used uninitialized in this function
>/usr/src/linux/include/linux/skbuff.h:323: warning: `newsk' might be used
>   uninitialized in this function
>af_unix.c: In function `unix_dgram_sendmsg':
>af_unix.c:908: warning: `skb' might be used uninitialized in this function
>...

and so on.

Can I safely ignore these messages?  Will the new kernel (which I am using
now) break sometime?

Any help will be appreciated.

-Pablo-

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-28  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-28  1:28 Compiling linux-2.1.23 Pablo Manalastas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox