[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] compiling freemint under cygwin



Frank Naumann wrote:

Hello!


The compiler complained about missing symbols. I took a look and found
out that the problem occures from multiple including of headers.


Link errors are not a result of wrong/missing includes. Most probably the
sysv_shm.c module was not compiled correctly or something like that.

It is not a link-error.

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)

...

-Helmut