Subject: Problem compiling mysql-server
To: None <port-macppc@netbsd.org>
From: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
List: port-macppc
Date: 02/17/2002 12:34:11
Hello, I have snipped the full path to make the things readable :

> cpp 
> -I/tmp/[...]/.buildlink/include
> -Dunix
> -I/tmp/[...]/mysql-3.23.47/mit-pthreads
> -I/tmp/[...]/mysql-3.23.47/mit-pthreads/include
> -I/tmp/[...]/mysql-3.23.47/mit-pthreads/include
> -DPTHREAD_KERNEL
> /tmp/[...]/mysql-3.23.47/mit-pthreads/syscall.S > syscall.i

>In file included from /tmp/[...]/mysql-3.23.47/mit-pthreads/syscall.S:5:
>/usr/include/sys/cdefs.h:212: #error "No function renaming possible"
>/tmp/[...]/mysql-3.23.47/mit-pthreads/syscall.S:32: unterminated character constant
>*** Error code 1

Looking at /usr/include/sys/cdefs.h, which is the correct version, 
according to cvsweb, we have :

| #ifdef __lint__
| #define __RENAME(x)     __symbolrename(x)
| #else 
|  #error "No function renaming possible" 
| #endif /* __lint__ */

My sourcetree and my pkg tree are up-to-date.

Any hint ?

Thanks,

-- 
Xav
http://www.freetibet.org
http://www.tibet.fr/