*************************************************************
When running GNU make 3.77 OR 3.78 I get the following.
Config.h and the makefile it's referencing
follow below.
**************************************************************

Assertion failed: *p2 != '\0', file read.c, line 866

abnormal program termination

(NOTE: in version 3.78 it's "line 892" instead of "line 866".


*****************************************
here's the config.h
*****************************************
/* AUTOMATICALLY GENERATED; DO NOT EDIT! */ 
#ifndef _G_config_h
#define
_G_config_h
#define _G_LIB_VERSION "2.8.0"
#define _G_NAMES_HAVE_UNDERSCORE
1
#define _G_VTABLE_LABEL_HAS_LENGTH 1
#define _G_VTABLE_LABEL_PREFIX
"__vt$"
#define _G_HAVE_ST_BLKSIZE 0

#if __GNUC__ > 2 || (__GNUC__ == 2 &&
__GNUC_MINOR__ >= 7)
typedef          int   _G_int8_t
__attribute__((__mode__(__QI__)));
typedef unsigned int  _G_uint8_t
__attribute__((__mode__(__QI__)));
typedef          int  _G_int16_t
__attribute__((__mode__(__HI__)));
typedef unsigned int _G_uint16_t
__attribute__((__mode__(__HI__)));
typedef          int  _G_int32_t
__attribute__((__mode__(__SI__)));
typedef unsigned int _G_uint32_t
__attribute__((__mode__(__SI__)));
typedef          int  _G_int64_t
__attribute__((__mode__(__DI__)));
typedef unsigned int _G_uint64_t
__attribute__((__mode__(__DI__)));
#if __GNUC__ > 2 || __GNUC_MINOR__ >=
8
__extension__ typedef long long _G_llong;
__extension__ typedef unsigned
long long _G_ullong;
#endif
#else
typedef  short /* deduced */
_G_int16_t;
typedef unsigned short /* deduced */ _G_uint16_t;
typedef  long
/* deduced */  _G_int32_t;
typedef unsigned long /* deduced */
_G_uint32_t;
#endif

typedef long _G_clock_t;
typedef short
_G_dev_t;
typedef long _G_fpos_t;
typedef int /* default */
_G_gid_t;
typedef short _G_ino_t;
typedef unsigned short _G_mode_t;
typedef
int /* default */ _G_nlink_t;
typedef long _G_off_t;
typedef int
_G_pid_t;
#ifndef __PTRDIFF_TYPE__
#define __PTRDIFF_TYPE__
int
#endif
typedef __PTRDIFF_TYPE__ _G_ptrdiff_t;
typedef int
_G_sigset_t;
#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ unsigned
int
#endif
typedef __SIZE_TYPE__ _G_size_t;
typedef long _G_time_t;
typedef
int /* default */ _G_uid_t;
typedef short unsigned int _G_wchar_t;

#define
_G_BUFSIZ 512
#define _G_FOPEN_MAX (20)
#define _G_FILENAME_MAX (260)
#if
defined (__cplusplus) || defined (__STDC__)
#define _G_ARGS(ARGLIST)
ARGLIST
#else
#define _G_ARGS(ARGLIST) ()
#endif
#if !defined (__GNUG__) ||
defined (__STRICT_ANSI__)
#define _G_NO_NRV
#endif
#if !defined
(__GNUG__)
#define _G_NO_EXTERN_TEMPLATES
#endif
typedef  int /* default */
_G_ssize_t;
typedef unsigned int _G_wint_t;
typedef void *
_G_va_list;
#define _G_signal_return_type void
#define
_G_sprintf_return_type int
#define _G_HAVE_ATEXIT 1
#define
_G_HAVE_SYS_RESOURCE 0
#define _G_HAVE_SYS_TIMES 0
#define
_G_HAVE_SYS_SOCKET 0
#define _G_HAVE_SYS_CDEFS 0
#define _G_HAVE_SYS_WAIT
0
#define _G_HAVE_UNISTD 1
#define _G_HAVE_DIRENT 1
#define _G_HAVE_CURSES
0
#define _G_MATH_H_INLINES 0
#define _G_HAVE_BOOL 1
#define
_G_HAVE_PRINTF_FP 0
#define _G_HAVE_LONG_DOUBLE_IO 0
#undef NULL
#define
__need_NULL
#include <stddef.h>
#endif /* !_G_config_h */




******************************************
Here's the makefile it's referencing:
******************************************

# Compiler
CC=g++
# Parameters given to the compiler
CFLAGS=-ggdb  -Ie:\Proto\Myproto\Mingw32Version\Include\
-IC:\DEVELCMP\MINGw32\INCLUDE\  -IC:\DEVELCMP\MINGw32\INCLUDE\G__
-Ic:\DEVELCMP\ALLEGRO\INCLUDE\ -LC:\DEVELCMP\MINGw32\LIB\
-BC:\DEVELCMP\MINGw32\BIN\
# Output filename (*.exe)
OUTPUT="Polyrhythm.exe"

# Source files
SRCS="E:\PROTO\MYPROTO\Mingw32Version\Parsemid.cpp"
"E:\PROTO\MYPROTO\Mingw32Version\Clk2frq.cpp"
"E:\PROTO\MYPROTO\Mingw32Version\feedbak.cpp"
"E:\PROTO\MYPROTO\Mingw32Version\Miditest.cpp"
"E:\PROTO\MYPROTO\Mingw32Version\notehist.cpp"
"E:\PROTO\MYPROTO\Mingw32Version\Calcmidi.cpp" 
# Output object files (*.o)
OBJS="E:\PROTO\MYPROTO\Mingw32Version\Parsemid.o"
"E:\PROTO\MYPROTO\Mingw32Version\Clk2frq.o"
"E:\PROTO\MYPROTO\Ming32wVersion\feedbak.o"
"E:\PROTO\MYPROTO\Mingw32Version\Miditest.o"
"E:\PROTO\MYPROTO\Mingw32Version\notehist.o"
"E:\PROTO\MYPROTO\Mingw32Version\Calcmidi.o"
"E:\PROTO\MYPROTO\Mingw32Version\rsrc.o"

# Standard targets

all: compile_res
        $(CC) -c $(SRCS) $(CFLAGS)
        $(CC) -o $(OUTPUT) $(OBJS) $(CFLAGS)

compile_res:
        windres --use-temp-file --include-dir C:\DEVELCMP\MINGw32\INCLUDE\
--include-dir C:\DEVELCMP\MINGw32\INCLUDE\G__ --include-dir
C:\DEVELCMP\MINGw32\INCLUDE\ --include-dir c:\DEVELCMP\ALLEGRO\INCLUDE\ -I
rc -O coff -i "E:\PROTO\MYPROTO\MINGw32VERSION\RSRC.RC" -o
"E:\PROTO\MYPROTO\MINGw32VERSION\RSRC.o"

test: all
        ./$(OUTPUT)

clean:
        del *.o

mrproper: clean

Reply via email to