AOSC-Archive / metahtml

git mirror for a programming language specifically designed for working within the World Wide Web environment
Other
1 stars 1 forks source link

BOOM #12

Open Artoria2e5 opened 9 years ago

Artoria2e5 commented 9 years ago
object.c:37:1: error: conflicting types for ‘strndup’
 static unsigned char *
 strndup (unsigned char *string, size_t size)
 ^
In file included from ../machine/machine.h:45:0,
                 from object.c:29:
/usr/include/string.h:183:14: note: previous declaration of ‘strndup’ was here
 extern char *strndup (const char *__string, size_t __n)

modules/machine

Artoria2e5 commented 9 years ago

I got another relocation issue but got through with -fPIC.

Artoria2e5 commented 9 years ago

I commented out the old strndup and it works now. Let's do some AC_CHECK_FUNC + ifdef.

Artoria2e5 commented 9 years ago

It installed itself to /www/bin. DESTDIR control is useless since it uses some custom installation script in support/.

Artoria2e5 commented 9 years ago

I consider using support/ instead of build-aux/ a good idea.