Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: Error in aboot-0.7(a) source
Date: 9 Sep 2000 16:52:13 GMT	[thread overview]
Message-ID: <8pdprt$gm0$2@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 39BA4BD9.10155B89@nospam.com

G. Hugh Song (ghsong@nospam.com) wrote:

: aboot.c
: aboot.c: In function `first_block':
: aboot.c:98: invalid type argument of `->'
: make: *** [aboot.o] Error 1

Something got very confused.  Probably by some weird macro expansion.

: The segment of aboot.c is as follows:

: ========================================
:   if (!elf_check_arch(elf->e_machine)) {
:    printf("aboot: ELF executable not for this machine\n");
:    return -1;
:   }
: ======================================

The fragment looks innocent enough.  Probably you have somehow messed
up headers.  You can try check that with a help of an '-E' flag to
your compiler by checking a captured output.

: Would you please debug the above source?

???

: Am I using a wrong version of linux/elf.h or something?

Probably.  Likely "something".

A recompiled source and binary rpm packages of aboot 0.7a for alpha,
plus a minor fix, can be retrieved from ftp://ftp.harddata.com/pub/aboot*

   Michal



      reply	other threads:[~2000-09-09 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-09 14:40 Error in aboot-0.7(a) source G. Hugh Song
2000-09-09 16:52 ` Michal Jaegermann [this message]
read-only archive

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