nanogui: compilation problem, microwindows, uClinux, mc68ez328


Previous by date: 28 Apr 2000 16:37:10 -0000 Re: Terminal Emulator, Greg Haerr
Next by date: 28 Apr 2000 16:37:10 -0000 Re: Terminal Emulator, Greg Haerr
Previous in thread: 28 Apr 2000 16:37:10 -0000 Re: compilation problem, microwindows, uClinux, mc68ez328, danielou.etudiant.univ-brest.fr
Next in thread:

Subject: Re: compilation problem, microwindows, uClinux, mc68ez328
From: "Greg Haerr" ####@####.####
Date: 28 Apr 2000 16:37:10 -0000
Message-Id: <0ef601bfb12e$a4271560$15320cd0@gregh>

: Thank you for the help. It works better but I still have some problems.
:
: Here is what I get when I try to compile microwin :
: ---------------------------------------------------
:

the .depend errors are normal on the first compile.



: /users/danielou/microwin/src/Makefile.rules:293: .depend: No such file or
directory
: Updating dependencies in /users/danielou/microwin/src/drivers ...
:
: fblin8.c: In function `init_alpha_lookup':
: fblin8.c:216: warning: implicit declaration of function `malloc'

grep for malloc on your system, let me know where it's at


: Compiling scr_fb.c ...
: scr_fb.c:20: sys/io.h: No such file or directory

delete the sys/io.h include.  If your system doesn't support kernel
framebuffer, then you've got to write a screen driver, which will
be a little bit of work.  You might want to study some kernel
sources now for the console.



: make[1]: *** [scr_fb.o] Error 1
: /users/danielou/microwin/src/Makefile.rules:293: .depend: No such file or
directory
: Updating dependencies in /users/danielou/microwin/src/engine ...
: Compiling devdraw.c ...
: Compiling devfont.c ...
: devfont.c: In function `GdCreateFont':
: devfont.c:168: warning: passing arg 2 of `strcasecmp' discards `const' from
pointer target type
: Compiling devmouse.c ...
: Compiling devkbd.c ...
: Compiling devclip.c ...
: Compiling devrgn.c ...
: Compiling devpal1.c ...
: Compiling devpal2.c ...
: Compiling devimage.c ...
: devimage.c: In function `GdBMP':
: devimage.c:327: warning: implicit declaration of function `fread'

This is normally in stdio.h, perhaps stdlib.h


:
: Compiling graph3d.c ...
: In file included from /users/danielou/microwin/src/include/graph3d.h:10,
:                  from graph3d.c:9:
: /opt/uClinux/m68k-pic-coff/include/math.h:50: warning: conflicting types for
built-in function `cos'
: /opt/uClinux/m68k-pic-coff/include/math.h:140: warning: conflicting types for
built-in function `sin'
: /opt/uClinux/m68k-pic-coff/include/math.h:144: warning: conflicting types for
built-in function `sqrt'
: graph3d.c: In function `patch':
: graph3d.c:304: warning: type mismatch in implicit declaration for built-in
function `fabs'

You'll have to search this one out, it appears two math hdrs are
being used.



: ...
: Compiling client.c ...
: client.c:34: sys/select.h: No such file or directory

comment out sys/select.h include.


: Compiling mterm.c ...
: mterm.c: In function `CreatePtyShell':
: mterm.c:262: warning: implicit declaration of function
`fork_not_available_use_vfork'

This error msg is self explanatory


: mterm.c:272: warning: implicit declaration of function `setsid'

comment out setsid

: mterm.c:278: warning: implicit declaration of function `dup2'
: mterm.c:284: warning: implicit declaration of function `execv'

you'll have to find these babies


The reason you're not linking is because scr_fb.o and client.o failed.

Regards,

Greg




Previous by date: 28 Apr 2000 16:37:10 -0000 Re: Terminal Emulator, Greg Haerr
Next by date: 28 Apr 2000 16:37:10 -0000 Re: Terminal Emulator, Greg Haerr
Previous in thread: 28 Apr 2000 16:37:10 -0000 Re: compilation problem, microwindows, uClinux, mc68ez328, danielou.etudiant.univ-brest.fr
Next in thread:


Powered by ezmlm-browse 0.20.