[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] compiling freemint under cygwin
Hi,
I downloaded the cross-gcc for cygwin and got me the last
freemint-source from cvs and did cd to sys and typed 'make CROSS=yes 030'.
The compiler complained about missing symbols. I took a look and found
out that the problem occures from multiple including of headers.
gcc says:
m68k-atari-mint-gcc -I.. -D__KERNEL__ -DLANG_ENGLISH -DVERBOSE_BOOT
-DCRYPTO_COE -DSOFT_UNITABLE -DBUILTIN_SHELL -DONLY030 -DCPU030 -m68030
-mshort -g -O2 -foit-frame-pointer -Wall -Wmissing-prototypes -Winline
-c ../syscall_vectors.c -o
syscall_vectors.o
../syscall_vectors.c:505: `sys_p_shmget' undeclared here (not in a function)
../syscall_vectors.c:505: initializer element is not constant
../syscall_vectors.c:505: (near initialization for `dos_tab[368]')
../syscall_vectors.c:506: `sys_p_shmctl' undeclared here (not in a function)
../syscall_vectors.c:506: initializer element is not constant
../syscall_vectors.c:506: (near initialization for `dos_tab[369]')
../syscall_vectors.c:507: `sys_p_shmat' undeclared here (not in a function)
../syscall_vectors.c:507: initializer element is not constant
../syscall_vectors.c:507: (near initialization for `dos_tab[370]')
../syscall_vectors.c:508: `sys_p_shmdt' undeclared here (not in a function)
../syscall_vectors.c:508: initializer element is not constant
../syscall_vectors.c:508: (near initialization for `dos_tab[371]')
make[2]: *** [syscall_vectors.o] Error 1
So I rearranged the including until it compiled ok but I am not able to
define what is syntactically wrong here.
Any clues?
-Helmut