All of lore.kernel.org
 help / color / mirror / Atom feed
* error compiling
@ 2003-10-09  9:24 Michal Semler (volny.cz)
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2003-10-09  9:24 UTC (permalink / raw)
  To: linux-kernel

Hi,

I can't compile 2.4.22 and 2.4.23-pre6 with this options:

cat .config|grep -v ^#|grep [[:alnum:]]
CONFIG_X86=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_M386=y
CONFIG_X86_L1_CACHE_SHIFT=4
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_MCE=y
CONFIG_MICROCODE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_NET=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_ISA=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_PNP=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_CPQ_DA=y
CONFIG_BLK_CPQ_CISS_DA=y
CONFIG_BLK_DEV_DAC960=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_RAID1=y
CONFIG_BLK_DEV_LVM=y
CONFIG_PACKET=y
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_BLK_DEV_SR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_BLK_DEV_3W_XXXX_RAID=y
CONFIG_SCSI_AACRAID=y
CONFIG_SCSI_AIC79XX=y
CONFIG_AIC79XX_CMDS_PER_DEVICE=32
CONFIG_AIC79XX_RESET_DELAY_MS=15000
CONFIG_AIC79XX_DEBUG_MASK=0
CONFIG_I2O=y
CONFIG_I2O_PCI=y
CONFIG_I2O_BLOCK=y
CONFIG_I2O_LAN=y
CONFIG_I2O_SCSI=y
CONFIG_I2O_PROC=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_E100=y
CONFIG_ACENIC=y
CONFIG_E1000=y
CONFIG_FDDI=y
CONFIG_DEFXX=y
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_INTEL_RNG=y
CONFIG_NVRAM=y
CONFIG_RTC=y
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_QUOTA=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=y
CONFIG_EXT3_FS=y
CONFIG_JBD=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_UMSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_CRAMFS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_MINIX_FS=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_ZISOFS_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_ISO8859_2=y
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_UHCI_ALT=y
CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m


        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o \
         drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o 
drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o 
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o 
drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o 
drivers/media/media.o drivers/input/inputdrv.o drivers/message/i2o/i2o.o 
drivers/md/mddev.o arch/i386/math-emu/math.o \
        net/network.o \
        /usr/src/linux-2.4.22/arch/i386/lib/lib.a 
/usr/src/linux-2.4.22/lib/lib.a /usr/src/linux-2.4.22/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
kernel/kernel.o(.data+0x61c): undefined reference to `net_table'
drivers/block/block.o(.text.init+0xaf): In function `device_init':
: undefined reference to `net_dev_init'
drivers/net/net.o(.text+0x1587): In function `e1000_82547_tx_fifo_stall':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1590): In function `e1000_82547_tx_fifo_stall':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1652): In function `e1000_watchdog':
: undefined reference to `__netdev_watchdog_up'
drivers/net/net.o(.text+0x168c): In function `e1000_watchdog':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1695): In function `e1000_watchdog':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x18e6): In function `e1000_xmit_frame':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x18f2): In function `e1000_xmit_frame':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1e53): In function `e1000_tx_timeout_task':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1e5c): more undefined references to `softnet_data' 
follow
drivers/net/net.o(.text+0x1e72): In function `e1000_tx_timeout_task':
: undefined reference to `__netdev_watchdog_up'
drivers/net/net.o(.text+0x2613): In function `e1000_clean_tx_irq':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x261b): In function `e1000_clean_tx_irq':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x2709): In function `e1000_clean_tx_irq':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x2712): In function `e1000_clean_tx_irq':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x27d4): In function `e1000_clean_rx_irq':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x27dc): more undefined references to `softnet_data' 
follow
drivers/net/net.o(.text+0x29bb): In function `e1000_clean_rx_irq':
: undefined reference to `eth_type_trans'
drivers/net/net.o(.text+0x2a99): In function `e1000_clean_rx_irq':
: undefined reference to `netif_rx'
drivers/net/net.o(.text+0xbb88): In function `ace_load_jumbo_rx_ring':
: undefined reference to `net_ratelimit'
drivers/net/net.o(.text+0xbf87): In function `ace_rx_int':
: undefined reference to `eth_type_trans'
drivers/net/net.o(.text+0xbfb6): In function `ace_rx_int':
: undefined reference to `netif_rx'
drivers/net/net.o(.text+0xc115): In function `ace_interrupt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xc11d): In function `ace_interrupt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xc18a): In function `ace_interrupt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xc197): In function `ace_interrupt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xc895): In function `ace_start_xmit':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xc8a2): more undefined references to `softnet_data' 
follow
drivers/net/net.o(.text+0xed98): In function `e100_rx_srv':
: undefined reference to `eth_type_trans'
drivers/net/net.o(.text+0xeeb8): In function `e100_rx_srv':
: undefined reference to `netif_rx'
drivers/net/net.o(.text+0xf738): In function `e100_exec_non_cu_cmd':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xf741): In function `e100_exec_non_cu_cmd':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xfd67): In function `e100_deisolate_driver':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0xfd70): In function `e100_deisolate_driver':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x11f34): In function `e100_non_tx_background':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x11f3d): more undefined references to `softnet_data' 
follow
drivers/net/net.o(.text+0x1413d): In function `e100_update_link_state':
: undefined reference to `__netdev_watchdog_up'
drivers/net/net.o(.text+0x153cc): In function `init_netdev':
: undefined reference to `dev_alloc_name'
drivers/net/net.o(.text+0x153f6): In function `init_netdev':
: undefined reference to `netdev_boot_setup_check'
drivers/net/net.o(.text+0x15405): In function `init_netdev':
: undefined reference to `rtnl_lock'
drivers/net/net.o(.text+0x1540b): In function `init_netdev':
: undefined reference to `register_netdevice'
drivers/net/net.o(.text+0x15412): In function `init_netdev':
: undefined reference to `rtnl_unlock'
drivers/net/net.o(.text+0x15531): In function `ether_setup':
: undefined reference to `eth_header'
drivers/net/net.o(.text+0x1553b): In function `ether_setup':
: undefined reference to `eth_rebuild_header'
drivers/net/net.o(.text+0x1554f): In function `ether_setup':
: undefined reference to `eth_header_cache'
drivers/net/net.o(.text+0x15559): In function `ether_setup':
: undefined reference to `eth_header_cache_update'
drivers/net/net.o(.text+0x15563): In function `ether_setup':
: undefined reference to `eth_header_parse'
drivers/net/net.o(.text+0x155c1): In function `fddi_setup':
: undefined reference to `fddi_header'
drivers/net/net.o(.text+0x155cb): In function `fddi_setup':
: undefined reference to `fddi_rebuild_header'
drivers/net/net.o(.text+0x1561c): In function `register_netdev':
: undefined reference to `rtnl_lock'
drivers/net/net.o(.text+0x15641): In function `register_netdev':
: undefined reference to `dev_alloc_name'
drivers/net/net.o(.text+0x1565f): In function `register_netdev':
: undefined reference to `dev_alloc_name'
drivers/net/net.o(.text+0x1566e): In function `register_netdev':
: undefined reference to `register_netdevice'
drivers/net/net.o(.text+0x15678): In function `register_netdev':
: undefined reference to `rtnl_unlock'
drivers/net/net.o(.text+0x1568a): In function `unregister_netdev':
: undefined reference to `rtnl_lock'
drivers/net/net.o(.text+0x15690): In function `unregister_netdev':
: undefined reference to `unregister_netdevice'
drivers/net/net.o(.text+0x15695): In function `unregister_netdev':
: undefined reference to `rtnl_unlock'
drivers/net/net.o(.text+0x15734): In function `loopback_xmit':
: undefined reference to `eth_type_trans'
drivers/net/net.o(.text+0x1575e): In function `loopback_xmit':
: undefined reference to `netif_rx'
drivers/net/net.o(.text+0x16344): In function `dfx_int_common':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1634d): In function `dfx_int_common':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x171e2): In function `dfx_rcv_queue_process':
: undefined reference to `fddi_type_trans'
drivers/net/net.o(.text+0x171f9): In function `dfx_rcv_queue_process':
: undefined reference to `netif_rx'
drivers/net/net.o(.text+0x172c2): In function `dfx_xmt_queue_pkt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x172cb): In function `dfx_xmt_queue_pkt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1749d): In function `dfx_xmt_queue_pkt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x174a6): In function `dfx_xmt_queue_pkt':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x1752e): In function `dfx_xmt_done':
: undefined reference to `softnet_data'
drivers/net/net.o(.text+0x17536): more undefined references to `softnet_data' 
follow
drivers/net/net.o(.text.init+0x153d): In function `loopback_init':
: undefined reference to `eth_header'
drivers/net/net.o(.text.init+0x1547): In function `loopback_init':
: undefined reference to `eth_header_cache'
drivers/net/net.o(.text.init+0x1551): In function `loopback_init':
: undefined reference to `eth_header_cache_update'
drivers/net/net.o(.text.init+0x1578): In function `loopback_init':
: undefined reference to `eth_rebuild_header'
drivers/message/i2o/i2o.o(.text+0x69d3): In function `i2o_lan_handle_failure':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x69db): In function `i2o_lan_handle_failure':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x6a43): In function `i2o_lan_handle_failure':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x6a50): In function `i2o_lan_handle_failure':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x6a9a): In function `i2o_lan_handle_failure':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x6aa2): more undefined references to 
`softnet_data' follow
drivers/message/i2o/i2o.o(.text+0x7043): In function 
`i2o_lan_receive_post_reply':
: undefined reference to `netif_rx'
drivers/message/i2o/i2o.o(.text+0x7203): In function 
`i2o_lan_release_buckets':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x720b): In function 
`i2o_lan_release_buckets':
: undefined reference to `softnet_data'
drivers/message/i2o/i2o.o(.text+0x73bb): In function `i2o_lan_handle_event':
: undefined reference to `__netdev_watchdog_up'
drivers/message/i2o/i2o.o(.text+0x81b7): In function 
`i2o_lan_register_device':
: undefined reference to `eth_type_trans'
drivers/message/i2o/i2o.o(.text+0x8202): In function 
`i2o_lan_register_device':
: undefined reference to `dev_alloc_name'
drivers/message/i2o/i2o.o(.text+0x8221): In function 
`i2o_lan_register_device':
: undefined reference to `fddi_type_trans'
drivers/message/i2o/i2o.o(.text+0x8229): In function 
`i2o_lan_register_device':
: undefined reference to `unregister_netdevice'
drivers/message/i2o/i2o.o(.text+0x8482): In function `i2o_lan_exit':
: undefined reference to `unregister_netdevice'
net/network.o(.text+0x205c): In function `sock_setsockopt':
: undefined reference to `tcp_set_keepalive'
net/network.o(.text+0x2282): In function `sock_setsockopt':
: undefined reference to `dev_get_by_name'
net/network.o(.text+0x22ba): In function `sock_setsockopt':
: undefined reference to `netdev_finish_unregister'
net/network.o(.text+0x2326): In function `sock_setsockopt':
: undefined reference to `sk_attach_filter'
net/network.o(.text.init+0x51): In function `sock_init':
: undefined reference to `rtnetlink_init'
net/network.o(.text.init+0x56): In function `sock_init':
: undefined reference to `init_netlink'
net/network.o(.text.init+0x5b): In function `sock_init':
: undefined reference to `netfilter_init'
make: *** [vmlinux] Error 1
tata:/usr/src/linux-2.4.22# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Error compiling
  2003-07-18 15:55       ` Javier Sedano
  2003-07-21 15:19         ` Javier Sedano
@ 2003-07-22 10:16         ` Johannes Lundberg
  1 sibling, 0 replies; 8+ messages in thread
From: Johannes Lundberg @ 2003-07-22 10:16 UTC (permalink / raw)
  To: Javier Sedano; +Cc: elks


> 	I think the problem is related to the gcc version used in debian testing.
> The default gcc version is 3.3, but 2.95 is also installed. Forcing it
> to use 2.95 seems to compile (althoug it still does not boot)

Same thing here on Debian GNU/Linux unstable about gcc and dev86 0.16.11.
Though, using dev86 0.16.0 gives me a working kernel.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Error compiling
  2003-07-18 15:55       ` Javier Sedano
@ 2003-07-21 15:19         ` Javier Sedano
  2003-07-22 10:16         ` Johannes Lundberg
  1 sibling, 0 replies; 8+ messages in thread
From: Javier Sedano @ 2003-07-21 15:19 UTC (permalink / raw)
  To: elks; +Cc: Paul Nasrat, Riley Williams

Hi,



Javier Sedano wrote:
> Hi,
> 
>     I think the problem is related to the gcc version used in debian 
> testing. The default gcc version is 3.3, but 2.95 is also installed. 
> Forcing it to use 2.95 seems to compile (althoug it still does not boot)
> 

	Aha! So changing gcc to gcc-2.95 in Makefile-rules in the elks tree seems 
to solve the compilation problem. It compiles... but does not run. I've 
got what seems to be a dump of AX, BX, CX, DX registers, scrolling 
quickly through the screen.

	I am actually trying to run elks in vmware. The first step was to 
download the Images.zip tarball and use it. It works... more or less ;-)

	The comb image boots without problems, and I can even log in and play. 
The boot/root image does not work; it causes the same error than my 
home-compiled kernel.

	So there seems to be any configuration option which makes elks not 
runable under vmware. Does someone have a .config file for the boot 
image and another one for the comb image, to look for the diference?

	Any other idea?

Regards,

-- 
Javier Sedano Jarillo: javier.sedano@agora-2000.com
                        (http://www.it.uc3m.es/~jsedano)
Network&Systems Engineer
Agora Systems, S.A.
C/Aravaca 12
E-28040 Madrid (Spain)
Tel.: +34 91 533 58 57
Fax.: +34 91 534 84 77
--------
Any sufficiently advanced technology is indistinguishable from magic. 
Arthur C. Clarke


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Error compiling
  2003-07-18 13:22     ` Paul Nasrat
@ 2003-07-18 15:55       ` Javier Sedano
  2003-07-21 15:19         ` Javier Sedano
  2003-07-22 10:16         ` Johannes Lundberg
  0 siblings, 2 replies; 8+ messages in thread
From: Javier Sedano @ 2003-07-18 15:55 UTC (permalink / raw)
  To: Paul Nasrat; +Cc: Riley Williams, elks

Hi,


Paul Nasrat wrote:
> On Fri, Jul 18, 2003 at 02:04:18PM +0200, Javier Sedano wrote:
> 
> Gad, 0.16.3 has the CPP in (experimental) try 0.16.0 or 0.15.x.
> 

	Nopes. I also did so, and nothing solved.

	I think the problem is related to the gcc version used in debian testing. 
The default gcc version is 3.3, but 2.95 is also installed. Forcing it 
to use 2.95 seems to compile (althoug it still does not boot)

Regards,


-- 
Javier Sedano Jarillo: javier.sedano@agora-2000.com
                        (http://www.it.uc3m.es/~jsedano)
Network&Systems Engineer
Agora Systems, S.A.
C/Aravaca 12
E-28040 Madrid (Spain)
Tel.: +34 91 533 58 57
Fax.: +34 91 534 84 77
--------
?Por que pelear por poseer las montanas, si cuando de nosotros no quede 
ni el recuerdo, y otras generaciones sigan matandose para conseguirlas, 
ellas seguiran ahi, riendose del hombre? Proverbio apache


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Error compiling
  2003-07-18 12:04   ` Javier Sedano
@ 2003-07-18 13:22     ` Paul Nasrat
  2003-07-18 15:55       ` Javier Sedano
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Nasrat @ 2003-07-18 13:22 UTC (permalink / raw)
  To: Javier Sedano; +Cc: Riley Williams, elks

On Fri, Jul 18, 2003 at 02:04:18PM +0200, Javier Sedano wrote:
 
> Bad news: it also happens in the latests cvs snap. Maybe of a wrong 
> dev86 version?
> 
> jsedano@taran:~> dpkg -l  | grep bcc
> ii  bcc            0.16.3-2       16-bit C compiler
> jsedano@taran:~> dpkg -l  | grep elks
> ii  elks-libc      0.16.3-2       16-bit C library and include files
> jsedano@taran:~>

Gad, 0.16.3 has the CPP in (experimental) try 0.16.0 or 0.15.x.

Paul

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Error compiling
  2003-07-17 21:42 ` Riley Williams
@ 2003-07-18 12:04   ` Javier Sedano
  2003-07-18 13:22     ` Paul Nasrat
  0 siblings, 1 reply; 8+ messages in thread
From: Javier Sedano @ 2003-07-18 12:04 UTC (permalink / raw)
  To: Riley Williams, elks

Riley Williams wrote:
> Hi Javier.
> 
> 
> I'm not sure what that bug was, but it doesn't appear to be present
> in the current CVS version which is 0.1.3-pre1 so has presumably been
> fixed in the meantime.
> 

Bad news: it also happens in the latests cvs snap. Maybe of a wrong 
dev86 version?

jsedano@taran:~> dpkg -l  | grep bcc
ii  bcc            0.16.3-2       16-bit C compiler
jsedano@taran:~> dpkg -l  | grep elks
ii  elks-libc      0.16.3-2       16-bit C library and include files
jsedano@taran:~>


-- 
Javier Sedano Jarillo: javier.sedano@agora-2000.com
                        (http://www.it.uc3m.es/~jsedano)
Network&Systems Engineer
Agora Systems, S.A.
C/Aravaca 12
E-28040 Madrid (Spain)
Tel.: +34 91 533 58 57
Fax.: +34 91 534 84 77
--------
There are 11 classes of people in the worls: the one knowing about 
binary numbers and the one not knowing it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Error compiling
  2003-07-17 18:20 Error compiling Javier Sedano
@ 2003-07-17 21:42 ` Riley Williams
  2003-07-18 12:04   ` Javier Sedano
  0 siblings, 1 reply; 8+ messages in thread
From: Riley Williams @ 2003-07-17 21:42 UTC (permalink / raw)
  To: Javier Sedano, elks

Hi Javier.

 * Nothing as pretty as a smile, nothing as ugly as a frown.

 > After a few months forgetting about elks, I'm trying to install
 > it again. I've got two questions:
 >
 > 1) The latest version available in the web page is 0.1.1, but
 >    this mailing list speaks of other newer versions... aren't
 >    they packtized?

Not yet, but 0.1.3-pre1 shortly will be. The releases on the ELKS
website can easily lag behind those being used since those with the
abilities to create releases are also the busiest of the developers.
The best way to obtain the current code is using CVS with commands
like the following...

    export CVS_RSH=`which ssh`
    CVSROOT=:pserver:anonymous@cvs.elks.sf.net:/cvsroot/elks
    cvs -d $CVSROOT get elks elkscmd elksnet elksutils

...which will download the current code base for all four packages,
and will drop it under the current directory.

 > 2) Version 0.1.1 gives me the next error:
 >
 > jsedano@taran:~/elks/elks-0.1.1> make Image
 >   Q> #define UTS_VERSION "#0.1.1?Thu Jul 17 20:14:02 CEST 2003"

=====8<===== CUT =====>8=====

 > bcc -0 -i -O -I/home/jsedano/elks/elks-0.1.1/include \
 >        -DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" \
 >        -D__KERNEL__ -ansi -c -o init/main.o init/main.c
 > make -C arch/i86 Image
 > make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/arch/i86'

=====8<===== CUT =====>8=====

 > gcc -E -traditional -I/home/jsedano/elks/elks-0.1.1/include \
 >        -DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" \
 >        -D__KERNEL__ -o boot/bootsect.s boot/bootsect.S
 > as86 -0  -o boot/bootsect.o boot/bootsect.s
 > ld86 -0  -s -o boot/bootsect -M boot/bootsect.o > Boot.map
 > gcc -E -traditional -I/home/jsedano/elks/elks-0.1.1/include \
 >        -DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" \
 >        -D__KERNEL__ -o boot/setup.s boot/setup.S
 > boot/setup.S:588: macro names must be identifiers
 > make[1]: *** [boot/setup.s] Error 1
 > make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/arch/i86'
 > make: *** [Image] Error 2
 > jsedano@taran:~/elks/elks-0.1.1>

I'm not sure what that bug was, but it doesn't appear to be present
in the current CVS version which is 0.1.3-pre1 so has presumably been
fixed in the meantime.

Best wishes from Riley.
---
 * Nothing as pretty as a smile, nothing as ugly as a frown.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14-Jul-2003


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Error compiling
@ 2003-07-17 18:20 Javier Sedano
  2003-07-17 21:42 ` Riley Williams
  0 siblings, 1 reply; 8+ messages in thread
From: Javier Sedano @ 2003-07-17 18:20 UTC (permalink / raw)
  To: elks

Hi all,

	after a few months forgetting about elks, I'm trying to install it again. 
I've got two questions:

	1) The latest version available in the web page is 0.1.1, but this 
mailing list speaks of other newer versions... aren't hey packtized?

	2) Version 0.1.1 gives me the next error:

jsedano@taran:~/elks/elks-0.1.1> make Image
  Q> #define UTS_VERSION "#0.1.1?Thu Jul 17 20:14:02 CEST 2003"
make -C kernel kernel.a
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/kernel'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o sched.o sched.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o printk.o printk.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o sleepwake.o sleepwake.c bcc -0  -i -O 
-I/home/jsedano/elks/elks-0.1.1/include -DELKS_VERSION_CODE=0x00010100 
-DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ -ansi -c -o dma.o dma.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o version.o version.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o sys.o sys.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o stubs.o stubs.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o fork.o fork.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o exit.o exit.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o time.o time.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o signal.o signal.c
ar rcs kernel.a sched.o printk.o sleepwake.o dma.o version.o sys.o 
stubs.o fork.o exit.o time.o signal.o
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/kernel'
make -C fs fs.a
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/fs'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o super.o super.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o bufops.o bufops.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o devices.o devices.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o fcntl.o fcntl.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o stat.o stat.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o inode.o inode.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o file_table.o file_table.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o buffer.o buffer.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o block_dev.o block_dev.c bcc -0  -i -O 
-I/home/jsedano/elks/elks-0.1.1/include -DELKS_VERSION_CODE=0x00010100 
-DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ -ansi -c -o namei.o namei.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o ioctl.o ioctl.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o filesystems.o filesystems.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o open.o open.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o read_write.o read_write.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o readdir.o readdir.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o exec.o exec.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o select.o select.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o pipe.o pipe.c
ar rcs fs.a super.o bufops.o devices.o fcntl.o stat.o inode.o 
file_table.o buffer.o block_dev.o namei.o ioctl.o filesystems.o open.o 
read_write.o readdir.o exec.o select.o pipe.o
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/fs'
make -C lib lib.a
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/lib'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o chqueue.o chqueue.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o string.o string.c
ar rcs lib.a chqueue.o string.o
sync
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/lib'
make -C net net.a
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/net'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o socket.o socket.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o protocols.o protocols.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o ipv4/af_inet.o ipv4/af_inet.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o nano/af_nano.o nano/af_nano.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o unix/af_unix.o unix/af_unix.c
ar rcs net.a socket.o protocols.o ipv4/af_inet.o nano/af_nano.o 
unix/af_unix.o
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/net'
make -C fs/minix minixfs.a
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/fs/minix'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o bitmap.o bitmap.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o dir.o dir.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o file.o file.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o namei.o namei.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o symlink.o symlink.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o truncate.o truncate.c
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o inode.o inode.c
ar rcs minixfs.a bitmap.o dir.o file.o namei.o symlink.o truncate.o inode.o
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/fs/minix'
bcc -0  -i -O -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ 
-ansi -c -o init/main.o init/main.c
make -C arch/i86 Image
make[1]: Entering directory `/home/jsedano/elks/elks-0.1.1/arch/i86'
make -C tools all
make[2]: Entering directory `/home/jsedano/elks/elks-0.1.1/arch/i86/tools'
gcc -I ../../../include -o build build.c
gcc -I ../../../include -o mkurlader mkurlader.c
make[2]: Leaving directory `/home/jsedano/elks/elks-0.1.1/arch/i86/tools'
gcc -E -traditional -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ -o 
boot/bootsect.s boot/bootsect.S
as86 -0  -o boot/bootsect.o boot/bootsect.s
ld86 -0  -s -o boot/bootsect -M boot/bootsect.o > Boot.map
gcc -E -traditional -I/home/jsedano/elks/elks-0.1.1/include 
-DELKS_VERSION_CODE=0x00010100 -DUTS_RELEASE=\"0.1.1\" -D__KERNEL__ -o 
boot/setup.s boot/setup.S
boot/setup.S:588: macro names must be identifiers
make[1]: *** [boot/setup.s] Error 1
make[1]: Leaving directory `/home/jsedano/elks/elks-0.1.1/arch/i86'
make: *** [Image] Error 2
jsedano@taran:~/elks/elks-0.1.1>


	Any idea?

Regards,

-- 
Javier Sedano Jarillo: javier.sedano@agora-2000.com
                        (http://www.it.uc3m.es/~jsedano)
Network&Systems Engineer
Agora Systems, S.A.
C/Aravaca 12
E-28040 Madrid (Spain)
Tel.: +34 91 533 58 57
Fax.: +34 91 534 84 77
--------
Si la libertad de expresion significa algo, es el poder decir lo que los 
demas no quieren oir.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-09  9:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09  9:24 error compiling Michal Semler (volny.cz)
  -- strict thread matches above, loose matches on Subject: below --
2003-07-17 18:20 Error compiling Javier Sedano
2003-07-17 21:42 ` Riley Williams
2003-07-18 12:04   ` Javier Sedano
2003-07-18 13:22     ` Paul Nasrat
2003-07-18 15:55       ` Javier Sedano
2003-07-21 15:19         ` Javier Sedano
2003-07-22 10:16         ` Johannes Lundberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.