Magic Mailing List |
|
From: Richard Lethin (richard.lethin AT yale DOT edu) Date: Sun Apr 08 2001 - 00:00:30 EDT
Hi, We fired up a build of magic-7.0 to a RedHat Linux system here and ran into a couple of problems -DSYSV in misc/CFLAGS shouldn't be there. Causes some screwy things, most weird being conflicting definitions of wchar_t in X-Windows This also causes another problem where the magic-specific alloc malloc macros mess up includes of SYSV string file .h's. With SYSV off, this goes away, but there are some other places where external .h files that do things with malloc get screwed by the magic definition. Need to include external .h files before including magic.h which defines the malloc macro to cause an error message. On the other hand, getting rid of -DSYSV causes plotInt.h to try to include vfont.h which fails. And getting rid -f -DSYSV screws up some definitions in textio Textio in general is pretty damaged. Need a -L/usr/X11R6/lib to find -lX11 in magic/LIBS Anyone else running on Linux - any chance that this stuff can get checked in to the CVS archive. Thanks, Rich
|
|