Index:
[thread]
[date]
[subject]
[author]
From: James A Simmons <jsimmons@acsu.buffalo.edu>
To : ggi-develop <ggi-develop@eskimo.com>
Date: Fri, 28 Aug 1998 10:28:40 -0400 (EDT)
kernel Makefiles errors
I have finally developed a early makefile system for linux for kigcon. But
it wouldn't compile. Here is the output from the compile. You can get the
early prototype from http://elmwood.afterfive.com/~jsimmons/linux-kgi.tgz
You need a 2.1.119 kernel for it to work. Just place it on directory above
the kernel source tree and unzip and untar it. It compiles using the old
makefile system. Don't use the kernel if you do manage to compile it. I
have more work to do for it. Take a look at it from the above web page.
gcc -D__KERNEL__ -I/usr/src/linux-2.1.119/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make[1]: Entering directory `/usr/src/linux-2.1.119/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.1.119/kernel'
make[2]: Leaving directory `/usr/src/linux-2.1.119/kernel'
make[1]: Leaving directory `/usr/src/linux-2.1.119/kernel'
make -C drivers
make[1]: Entering directory `/usr/src/linux-2.1.119/drivers'
make -C block
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/block'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/block'
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/block'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/block'
make -C char
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/char'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/char'
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/char'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/char'
make -C net
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/net'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/net'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/net'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/net'
make -C misc
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/misc'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/misc'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/misc'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/misc'
make -C sound
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/sound'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/sound'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/sound'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/sound'
make -C pci
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/pci'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/pci'
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/pci'
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/pci'
make -C video
make[2]: Entering directory `/usr/src/linux-2.1.119/drivers/video'
make -C kgi
make[3]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi'
make -C accel
make[4]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel'
make -C Matrox
make[5]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel/Matrox'
make all_targets
make[6]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel/Matrox'
make[6]: Nothing to be done for `all_targets'.
make[6]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel/Matrox'
make[5]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel/Matrox'
make all_targets
make[5]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel'
make[5]: Nothing to be done for `all_targets'.
make[5]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel'
make[4]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/accel'
make -C chipset
make[4]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset'
make -C Matrox
make[5]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset/Matrox'
make all_targets
make[6]: Entering directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset/Matrox'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.119/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o mga_common_text16.o mga_common_text16.c
In file included from mga_common_text16.c:25:
../../include/Matrox/mga_common_regs.h:410: warning: #warning !!! include the headerfile for the new Matrox card here
In file included from mga_common_text16.c:28:
../../include/Matrox/mga_common.h:93: warning: #warning include the headerfile for the new Matrox card here
mga_common_text16.c: In function `do_set_font':
mga_common_text16.c:44: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_text_set_origin':
mga_common_text16.c:128: dereferencing pointer to incomplete type
mga_common_text16.c:128: dereferencing pointer to incomplete type
mga_common_text16.c:132: dereferencing pointer to incomplete type
mga_common_text16.c:135: dereferencing pointer to incomplete type
mga_common_text16.c:138: dereferencing pointer to incomplete type
mga_common_text16.c:140: dereferencing pointer to incomplete type
mga_common_text16.c:143: dereferencing pointer to incomplete type
mga_common_text16.c:150: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_set_split':
mga_common_text16.c:166: dereferencing pointer to incomplete type
mga_common_text16.c:169: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_show_hw_text_cursor':
mga_common_text16.c:204: dereferencing pointer to incomplete type
mga_common_text16.c:207: dereferencing pointer to incomplete type
mga_common_text16.c:207: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_show_sw_text_pointer':
mga_common_text16.c:242: dereferencing pointer to incomplete type
mga_common_text16.c:243: dereferencing pointer to incomplete type
mga_common_text16.c:244: dereferencing pointer to incomplete type
mga_common_text16.c:246: `mgatext' undeclared (first use this function)
mga_common_text16.c:246: (Each undeclared identifier is reported only
once
mga_common_text16.c:246: for each function it appears in.)
mga_common_text16.c:246: `p' undeclared (first use this function)
mga_common_text16.c:246: parse error before `)'
mga_common_text16.c:250: dereferencing pointer to incomplete type
mga_common_text16.c:250: dereferencing pointer to incomplete type
mga_common_text16.c:266: dereferencing pointer to incomplete type
mga_common_text16.c:267: dereferencing pointer to incomplete type
mga_common_text16.c:267: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_hide_sw_text_pointer':
mga_common_text16.c:273: dereferencing pointer to incomplete type
mga_common_text16.c:274: `mgatext' undeclared (first use this function)
mga_common_text16.c:274: `p' undeclared (first use this function)
mga_common_text16.c:274: parse error before `)'
mga_common_text16.c:279: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_show_sw_text_cursor':
mga_common_text16.c:285: dereferencing pointer to incomplete type
mga_common_text16.c:286: dereferencing pointer to incomplete type
mga_common_text16.c:287: dereferencing pointer to incomplete type
mga_common_text16.c:289: `mgatext' undeclared (first use this function)
mga_common_text16.c:289: `p' undeclared (first use this function)
mga_common_text16.c:289: parse error before `)'
mga_common_text16.c:293: dereferencing pointer to incomplete type
mga_common_text16.c:293: dereferencing pointer to incomplete type
mga_common_text16.c:309: dereferencing pointer to incomplete type
mga_common_text16.c:310: dereferencing pointer to incomplete type
mga_common_text16.c:310: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mga_hide_sw_text_cursor':
mga_common_text16.c:316: dereferencing pointer to incomplete type
mga_common_text16.c:317: `mgatext' undeclared (first use this function)
mga_common_text16.c:317: `p' undeclared (first use this function)
mga_common_text16.c:317: parse error before `)'
mga_common_text16.c:321: dereferencing pointer to incomplete type
mga_common_text16.c: In function `mgatext_move_io':
mga_common_text16.c:358: `mgatext' undeclared (first use this function)
mga_common_text16.c:358: `pbuf' undeclared (first use this function)
mga_common_text16.c:358: parse error before `)'
mga_common_text16.c:359: `pdst' undeclared (first use this function)
mga_common_text16.c:359: warning: statement with no effect
mga_common_text16.c:360: `psrc' undeclared (first use this function)
mga_common_text16.c:360: warning: statement with no effect
mga_common_text16.c: In function `mgatext_set_io':
mga_common_text16.c:381: `mgatext' undeclared (first use this function)
mga_common_text16.c:381: `pbuf' undeclared (first use this function)
mga_common_text16.c:381: parse error before `)'
mga_common_text16.c: In function `mgatext_invert_io':
mga_common_text16.c:391: `mgatext' undeclared (first use this function)
mga_common_text16.c:391: `pix' undeclared (first use this function)
mga_common_text16.c:391: parse error before `)'
mga_common_text16.c: In function `mgatext_update_io':
mga_common_text16.c:406: `mgatext' undeclared (first use this function)
mga_common_text16.c:406: parse error before `)'
mga_common_text16.c: In function `mgatext_copyto_io':
mga_common_text16.c:416: `mgatext' undeclared (first use this function)
mga_common_text16.c:416: `dst' undeclared (first use this function)
mga_common_text16.c:416: parse error before `)'
mga_common_text16.c: In function `mgatext_copyfrom_io':
mga_common_text16.c:426: `mgatext' undeclared (first use this function)
mga_common_text16.c:426: `src' undeclared (first use this function)
mga_common_text16.c:426: parse error before `)'
make[6]: *** [mga_common_text16.o] Error 1
make[6]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset/Matrox'
make[5]: *** [first_rule] Error 2
make[5]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset/Matrox'
make[4]: *** [_subdir_Matrox] Error 2
make[4]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi/chipset'
make[3]: *** [_subdir_chipset] Error 2
make[3]: Leaving directory `/usr/src/linux-2.1.119/drivers/video/kgi'
make[2]: *** [_subdir_kgi] Error 2
make[2]: Leaving directory `/usr/src/linux-2.1.119/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.119/drivers'
make: *** [_dir_drivers] Error 2
Index:
[thread]
[date]
[subject]
[author]