Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Milo-2.0.17 build error
@ 1992-09-06  6:05 Oleg A. Shein
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg A. Shein @ 1992-09-06  6:05 UTC (permalink / raw)


> Are you building against Linux kernel sources 2.0.12 or later?  This
> was fixed a long time ago...

Hi!

I had this message about block_read compiling milo-2.0.17 too with
2.0.17 kernel ( but after applying axp-diff.2.0.17 from azstarnet).
with a bare 2.0.17 kernel everything is ok, so what kernel should
be aztarnet's axp-diffs apllied to? what are those axp-diffs stand for?

--

Sincerely,
Oleg Shein #2                        // os2@kpi.kharkov.ua
System administrator,   Kharkov State Polytechnic University, Ukraine

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Milo-2.0.17 build error
@ 1996-09-05 16:05 Francois Jaccard
  0 siblings, 0 replies; 6+ messages in thread
From: Francois Jaccard @ 1996-09-05 16:05 UTC (permalink / raw)


Hi,

I just downloaded the milo-2.0.17 sources and I get this (on a =
cabriolet):

gcc -D__KERNEL__  -D__linux__ -O2 -Wall -mno-fp-regs
-DPALCODE_AT=3D0xfffffc0000200000 -DLOADER_AT=3D0xfffffc0000500000
-DSTUB_AT=3D0xfffffc0000210000 -DDECOMP_PALBASE=3D0x300000 =
-DDECOMP_BASE=3D0x300B00
-DPALCODE_SIZE=3D0x10000 -DLOADER_SIZE=3D0x20000  -DDC21064 -DI28F008SA
-DMINI_NVRAM -I. -Ix86 -Ifs -I/usr/src/linux/include -I/usr/src/linux
-Ipalcode/eb64p/ -c -o devices.o devices.c
devices.c:879: conflicting types for `block_read'
/usr/src/linux/include/linux/fs.h:673: previous declaration of =
`block_read'
devices.c:982: conflicting types for `block_write'
/usr/src/linux/include/linux/fs.h:677: previous declaration of =
`block_write'
devices.c: In function `__wait_on_buffer':
devices.c:1015: warning: unused variable `flags'
devices.c: At top level:
devices.c:1516: warning: `struct symbol_table' declared inside parameter =
list
devices.c:1516: warning: its scope is only this definition or =
declaration,
devices.c:1516: warning: which is probably not what you want.
make: *** [devices.o] Error 1

block_read and block_write are decleared long in include/linux/fs.h.

Thanks,
--=20
Francois Jaccard
PGP Key ID: 0x3D7B9109

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Milo-2.0.17 build error
@ 1996-09-05 23:30 David A Rusling
  1996-09-06 10:36 ` Francois Jaccard
  1996-09-06 19:01 ` Francois Jaccard
  0 siblings, 2 replies; 6+ messages in thread
From: David A Rusling @ 1996-09-05 23:30 UTC (permalink / raw)


Are you building against Linux kernel sources 2.0.12 or later?  This 
was fixed a long time ago...

Dave

----------------------------------------------------------------------
David A Rusling				Principal Engineer
European Semiconductor Applications	Digital Equipment Co Ltd.,
	Engineering			PO Box 121,
					Imperial Way,
					Worton Grange
					Reading RG2 0TU
Linux, Alpha, StrongArm, PCI		Tel: UK-(0)1734-204380
					Fax: UK-(0)1734-203133
----------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Milo-2.0.17 build error
  1996-09-05 23:30 David A Rusling
@ 1996-09-06 10:36 ` Francois Jaccard
  1996-09-06 19:01 ` Francois Jaccard
  1 sibling, 0 replies; 6+ messages in thread
From: Francois Jaccard @ 1996-09-06 10:36 UTC (permalink / raw)


On Fri, 06 Sep 1996 00:30:56 +0100, you wrote:
>Are you building against Linux kernel sources 2.0.12 or later?  This=20
>was fixed a long time ago...
>
>Dave

Yes, I am building against Linux kernel sources 2.0.17 on a cabriolet.
--=20
Francois Jaccard
PGP Key ID: 0x3D7B9109

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Milo-2.0.17 build error
  1996-09-05 23:30 David A Rusling
  1996-09-06 10:36 ` Francois Jaccard
@ 1996-09-06 19:01 ` Francois Jaccard
  1 sibling, 0 replies; 6+ messages in thread
From: Francois Jaccard @ 1996-09-06 19:01 UTC (permalink / raw)


On Fri, 06 Sep 1996 00:30:56 +0100, you wrote:
>Are you building against Linux kernel sources 2.0.12 or later?  This=20
>was fixed a long time ago...
>
>Dave
>

I am building against kernel 2.0.17. I tried to reinstall from a fresh =
2.0.12
patched to 2.0.17 (without the axp-diffs). The file fs.h was patched by
axp-diffs-2.0.16.gz. Now I have this (fstat.h comes from
glibc-devel-0.960815-1.rpm):

(cd tools/data ; make install)
make[1]: Entering directory `/usr/src/test/milo-2.0.17/tools/data'
cc  -g -I. -I../include -o data data.c -lc
In file included from data.c:20:
/usr/include/sys/stat.h:119: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:119: warning: its scope is only this definition =
or
declaration,
/usr/include/sys/stat.h:119: warning: which is probably not what you =
want.
/usr/include/sys/stat.h:120: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:124: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:125: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:129: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:131: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:199: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:201: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:203: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:210: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:211: conflicting types for `__stat'
/usr/include/sys/stat.h:119: previous declaration of `__stat'
/usr/include/sys/stat.h: In function `__stat':
/usr/include/sys/stat.h:211: warning: passing arg 3 of `__xstat' from
incompatible pointer type
/usr/include/sys/stat.h: At top level:
/usr/include/sys/stat.h:212: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:213: conflicting types for `stat'
/usr/include/sys/stat.h:120: previous declaration of `stat'
/usr/include/sys/stat.h: In function `stat':
/usr/include/sys/stat.h:213: warning: passing arg 3 of `__xstat' from
incompatible pointer type
/usr/include/sys/stat.h: At top level:
/usr/include/sys/stat.h:215: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:216: conflicting types for `__lstat'
/usr/include/sys/stat.h:129: previous declaration of `__lstat'
/usr/include/sys/stat.h: In function `__lstat':
/usr/include/sys/stat.h:216: warning: passing arg 3 of `__lxstat' from
incompatible pointer type
/usr/include/sys/stat.h: At top level:
/usr/include/sys/stat.h:217: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:218: conflicting types for `lstat'
/usr/include/sys/stat.h:131: previous declaration of `lstat'
/usr/include/sys/stat.h: In function `lstat':
/usr/include/sys/stat.h:218: warning: passing arg 3 of `__lxstat' from
incompatible pointer type
/usr/include/sys/stat.h: At top level:
/usr/include/sys/stat.h:220: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:221: conflicting types for `__fstat'
/usr/include/sys/stat.h:124: previous declaration of `__fstat'
/usr/include/sys/stat.h: In function `__fstat':
/usr/include/sys/stat.h:221: warning: passing arg 3 of `__fxstat' from
incompatible pointer type
/usr/include/sys/stat.h: At top level:
/usr/include/sys/stat.h:222: warning: `struct stat' declared inside =
parameter
list
/usr/include/sys/stat.h:223: conflicting types for `fstat'
/usr/include/sys/stat.h:125: previous declaration of `fstat'
/usr/include/sys/stat.h: In function `fstat':
/usr/include/sys/stat.h:223: warning: passing arg 3 of `__fxstat' from
incompatible pointer type
make[1]: *** [data] Error 1
make[1]: Leaving directory `/usr/src/test/milo-2.0.17/tools/data'
make: *** [tools/bin/data] Error 2

I think it would be easier and more useful for everyone that you just =
recompile
Milo (for the Cabriolet at least) and include the Buslogic driver.

I will look if there is a newer glibc-devel rpm.

Thanks,
--=20
Francois Jaccard
PGP Key ID: 0x3D7B9109

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Milo-2.0.17 build error
       [not found] <32316e0d.39884152@mail.eunet.ch>
@ 1996-09-08 23:15 ` Richard Henderson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1996-09-08 23:15 UTC (permalink / raw)


Francois Jaccard wrote:
> I am building against kernel 2.0.17. I tried to reinstall from a fresh
> 2.0.12 patched to 2.0.17 (without the axp-diffs). The file fs.h was
> patched by axp-diffs-2.0.16.gz.

Huh?  Are you saying that you only applied parts of the axp-diffs?

> /usr/include/sys/stat.h:119: warning: `struct stat' declared inside \
> parameter list

Because this is something you'll see with glibc when you havn't
properly applied the axp-diffs.  Just to cover the bases again, use

  cd /usr/src/linux
  zcat ../axp-diffs-2.0.16.gz | patch -p1 -E

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-09-08 23:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-05 16:05 Milo-2.0.17 build error Francois Jaccard
     [not found] <32316e0d.39884152@mail.eunet.ch>
1996-09-08 23:15 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1996-09-05 23:30 David A Rusling
1996-09-06 10:36 ` Francois Jaccard
1996-09-06 19:01 ` Francois Jaccard
1992-09-06  6:05 Oleg A. Shein

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