Looks like code mod time fortunately it's only in a couple of places despite 
the number of repeats:

http://stackoverflow.com/questions/3148244/static-declaration-follows-non-static-declaration

Essentially the older GCC compilers were more "forgiving" and now it isn't !!! 
;)
The new task master is punitive of our sloppiness.

Best of luck with the mod.



--- On Sun, 28/8/11, Jiri Dolezal <[email protected]> wrote:

From: Jiri Dolezal <[email protected]>
Subject: Re: [Ql-Users] Fwd: [Raspberry Pi] August update - boards back and 
running content
To: [email protected]
Date: Sunday, 28 August, 2011, 9:01

> We've had a busy month! We received our alpha boards two weeks ago, and 
> already have a desktop environment and hardware-accelerated 3d and video up 
> and running. Work on the final board design is proceeding well. For more 
> details, check out our website at: http://www.raspberrypi.org

Yes, for a QL emulator...
I already have Genesi Efika Smartbook MX (ARM notebook) with Ubuntu 10.10.
I tried to compile two Linux emulators.
Without succes. Maybe someone more experienced in Linux and C will know, what 
to do.

Qlay just reports "Nothing to be done for ./makegile.cyg".

More interesting is, what uQLx reports:

:~/download/uqlx-17.02.02-21.28$ ls
bench1          insnx.c.old        QL_driver.c    README       x.c
bench2          insnx.h            QL_files.c     romdir       xcodes.c
boot.h          insnx2.c           QLfiles.h      rompatch.c   xcodes.h
BOOT.test       instructions_ao.c  QL.h           script.c     xc68.c
browse_manual   instructions_pz.c  QL_hardware.c  script.h     xc68.h
cond.h          iptraps.h          QLip.c         trace.c      Xgui.c
config          Makefile           QLip.h         trace.h      xipc.c
COPYRIGHT       memaccess.h        QL_poll.c      unix.h       xipc.h
docs            misdefs.h          QL_screen.c    unixstuff.c  xlmain.c
do_install      MK.all             QL_screen.h    uqlx_cfg.c   Xql
driver.h        pty.c              QL_serial.c    uqlx_cfg.h   Xqlaw
dummies.c       QDisk.c            QLserio.c      util.c       xql.c
emudisk.h       QDisk.h            QLtraps.c      util.h       xqlkey.c
general.c       QDOS.h             QLtypes.h      utils        xqlmouse.c
guesscpu_linux  QFilesPriv.h       QL68000.h      uxfile.c     Xscreen.c
iexl_general.c  QInstAddr.h        qmtrap.c       version.c    xtmain.c
iexl_general.h  QL_basext.c        QSerial.h      vm.c         xx.c
iexl.h          QL_boot.c          QSound.h       vm.h         zmtest.c
iexl_ug.h       QL_cconv.c         QVFS.c         vm_linux.c
Init.c          QL_config.c        QVFS.h         vm_linux.h
insnx.c         QL_config.h        qx_proto.h     vmtest.c

~/download/uqlx-17.02.02-21.28$ cat README
****************************** UQLX *********************************


The real documentation  containing installation hints is now in
the 'docs' subdirectory. Yow will need gnu make, X and gcc to build
anything, make==gnu-make is assumed here.
Type
    'make docs'

to build the documentation in dvi,info and html format - depending
on whatever formatting software is installed locally.
Texi2html is highly recommended for the online docs, you may get it
from
http://www.mathematik.uni-kl.de/~obachman/Texi2html/

View the documentation either by
    'xdvi docs/uqlx'
or in (X)Emacs
    c-u c-h i  docs/uqlx.info
or the html docs
    $BROWSER docs/uqlx_toc.html'

If you do not have the necessary software to build the documentation files
or downloaded the package without documentation, the HTML version of the main
documentation can be found in the WWW at :
http://www.geocities.com/SiliconValley/Bay/2602/uqlx_main.html

The file docs/ql.html contains a list of QL related internet starting points
plus some of my internet know-how.

Short instructions for building it:
on Linux:
    ./MK.all
    make install
else
    make config
    make
    make install

Get Jonathan Hudson's GUI from http://www.bigfoot.com/~jrhudson
if you like GUI's


COPYRIGHT
=========
DISCLAIMER
==========

- see file COPYRIGHT. If you didn't receive it, email either of

[email protected]
[email protected]
[email protected]

Don't use without reading and understandig it.

~/download/uqlx-17.02.02-21.28$ ./MK.all
-e
...there were some problems:

Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp 
--with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror 
--enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi 
--target=arm-linux-gnueabi
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [Init.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [general.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [instructions_ao.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [instructions_pz.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QLtraps.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_hardware.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_config.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [dummies.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [vm.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
xqlkey.c:12: fatal error: X11/Xos.h: No such file or directory
make: *** [xqlkey.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [qmtrap.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [uxfile.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_serial.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [pty.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [uqlx_cfg.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_files.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QL_driver.c:909: error: lvalue required as left operand of assignment
make: *** [QL_driver.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QDisk.c:1284: error: lvalue required as left operand of assignment
make: *** [QDisk.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [trace.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [version.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QLserio.c:375: error: lvalue required as left operand of assignment
QLserio.c:488: error: lvalue required as left operand of assignment
make: *** [QLserio.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QL_screen.c:16: fatal error: X11/Xos.h: No such file or directory
make: *** [QL_screen.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_poll.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [xcodes.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_boot.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QL_basext.c:13: fatal error: X11/Xos.h: No such file or directory
make: *** [QL_basext.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QL_cconv.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
iexl_general.c:66: error: static declaration of ‘GetFromEA_b_m3’ follows 
non-static declaration
iexl_general.c:67: error: static declaration of ‘GetFromEA_b_m4’ follows 
non-static declaration
iexl_general.c:80: error: static declaration of ‘GetFromEA_w_m3’ follows 
non-static declaration
iexl_general.c:81: error: static declaration of ‘GetFromEA_w_m4’ follows 
non-static declaration
iexl_general.c:93: error: static declaration of ‘GetFromEA_l_m3’ follows 
non-static declaration
iexl_general.c:94: error: static declaration of ‘GetFromEA_l_m4’ follows 
non-static declaration
iexl_general.c:903: error: static declaration of ‘GetFromEA_rb_m3’ follows 
non-static declaration
iexl_general.c:914: error: static declaration of ‘GetFromEA_rw_m3’ follows 
non-static declaration
iexl_general.c:923: error: static declaration of ‘GetFromEA_rl_m3’ follows 
non-static declaration
make: *** [iexl_general.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QVFS.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [vm_linux.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [Xscreen.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [QLip.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [util.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
xipc.c:26: fatal error: X11/Xos.h: No such file or directory
make: *** [xipc.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [script.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [rompatch.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
x.c:16: fatal error: X11/Xos.h: No such file or directory
make: *** [x.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [xlmain.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
xqlmouse.c:24: fatal error: X11/Xos.h: No such file or directory
make: *** [xqlmouse.o] Error 1
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
make: *** [unixstuff.o] Error 1
make: [docs/uqlx.html] Error 127 (ignored)
make: [docs/socket.html] Error 127 (ignored)
make: [docs/uqlx.dvi] Error 127 (ignored)
make: [docs/socket.dvi] Error 127 (ignored)
make: Target `all' not remade because of errors.
-e see MK.log for more details

~/download/uqlx-17.02.02-21.28$ make config
./config >.config
CC = gcc
gcc version is 4.4.5
gcc version 4.4.5 not known - using default settings
cannot determine CPU submodel automagically - this is not a problem, but you 
can try setting DEF_CPU for better performance
zero mapping apparently not supprted
adding  -DEVM_SCR
~/download/uqlx-17.02.02-21.28$ make

*** Making UQLX for Linux ***
gcc compiling with  flag

gcc   -c  -I /usr/openwin/include/ -I /usr/include/X11R6/ -I 
/usr/include/X11R5/ -I /usr/X11/include/ -I/usr/X11R6/include    -O2    
-fomit-frame-pointer  -DLINUX -DUSE_IPC -DQVFS -DMOUSE  -DUSE_IOSZ -DDO_GRAB  
-DSERIAL  -DNEWSERIAL -DNEWPTY  -DFASTLOOP  -DSH_MEM -DIPDEV  
-DXSCREEN   -DEVM_SCR   '-DIMPL="/home/jirka/Stažené/uqlx-17.02.02-21.28/"'     
Init.c
In file included from Init.c:8:
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QL68000.h:470: note: previous declaration of ‘big_endian’ was here
make: *** [Init.o] Error 1
jirka@pasifae:~/Stažené/uqlx-17.02.02-21.28$ make install
gcc   -c  -I /usr/openwin/include/ -I /usr/include/X11R6/ -I 
/usr/include/X11R5/ -I /usr/X11/include/ -I/usr/X11R6/include    -O2    
-fomit-frame-pointer  -DLINUX -DUSE_IPC -DQVFS -DMOUSE  -DUSE_IOSZ -DDO_GRAB  
-DSERIAL  -DNEWSERIAL -DNEWPTY  -DFASTLOOP  -DSH_MEM -DIPDEV  
-DXSCREEN   -DEVM_SCR   '-DIMPL="/home/jirka/Stažené/uqlx-17.02.02-21.28/"'     
Init.c
In file included from Init.c:8:
QL68000.h:694: error: static declaration of ‘big_endian’ follows non-static 
declaration
QL68000.h:470: note: previous declaration of ‘big_endian’ was here
make: *** [Init.o] Error 1
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to