[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 1477] Re: new mgp unable to compile
- To: gernot@mb3.seikyou.ne.jp
- Subject: [mgp-users 1477] Re: new mgp unable to compile
- From: Yoshifumi Nishida <nishida@csl.sony.co.jp>
- Date: Sun, 28 Jan 2007 19:28:12 +0900 (JST)
- Authentication-results: www.mew.org smtp.from=nishida@csl.sony.co.jp; spf=neutral
- Authentication-results: www.mew.org header.from=nishida@csl.sony.co.jp; sender-id=neutral
- Cc: mgp-users@mew.org
- In-reply-to: <>
- References: <>
- Sender: owner-mgp-users@wide.ad.jp
Hmm, very strange..
Could you check your OPTFLAGS in your Makefile?
Thanks,
--
Yoshifumi Nishida
nishida@csl.sony.co.jp
From: Gernot Hassenpflug <gernot@mb3.seikyou.ne.jp>
Subject: [mgp-users 1475] new mgp unable to compile
Date: Sun, 28 Jan 2007 13:12:00 +0900
Message-ID: <>
> Dear mgp\'ers,
>
> Sorry for my poor debugging skills, but I cannot get latest snapshot to compile
> on either AMD64 (Ubuntu 6.10) or i386 (Debian unstable) architecture.
>
> Since I cannot find the archives of the Mailing List, I post my attempt below.
>
> I downloaded snapshot, uncompress to separate directory, read README files,
> and then attempted compile.
>
> Default type of simple testing as follows:
>
> % ./configure ! no discernible error
> (snipped all output)
> be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles
>
> % xmkmf ! seems ok
> imake -DUseInstalled -I/usr/lib/X11/config
>
> % make Makefiles ! no complaints
> making Makefiles in image...
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit/image\'
> make[1]: Nothing to be done for `Makefiles\'.
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit/image\'
> making Makefiles in sample...
> mv -f Makefile Makefile.bak
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit/sample\'
> make[1]: Nothing to be done for `Makefiles\'.
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit/sample\'
> making Makefiles in contrib...
> mv -f Makefile Makefile.bak
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit\'
> make[1]: Entering directory `/home/gernot/Desktop/mgp/kit/contrib\'
> making Makefiles in contrib/xwintoppm...
> mv -f Makefile Makefile.bak
> make[2]: Entering directory `/home/gernot/Desktop/mgp/kit/contrib\'
> make[2]: Leaving directory `/home/gernot/Desktop/mgp/kit/contrib\'
> make[2]: Entering directory `/home/gernot/Desktop/mgp/kit/contrib/xwintoppm\'
> make[2]: Nothing to be done for `Makefiles\'.
> make[2]: Leaving directory `/home/gernot/Desktop/mgp/kit/contrib/xwintoppm\'
> make[1]: Leaving directory `/home/gernot/Desktop/mgp/kit/contrib\'
>
> % make ! gcc complains: no input files
> ! make complains: *** [mgp.o] Error 1
> rm -f mgp.o
> gcc -c -g -O2 -fno-strict-aliasing -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHA
VE!
> _MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DMGPLIBDIR=\\\"/usr/lib/X11/mgp\\\" -DUUDECODE=\\\"/usr/bin/uudecode\\\" -DGUNZIP=\\\"/bin/gunzip\\\" -I mgp.c
> gcc: no input files
> make: *** [mgp.o] Error 1
>
> I know gcc manages to compile ctlwords, since with some configure options it
> gives a warning about imncompatible implicit declaration of built-in function \'exit\'.
>
> Also, argument string to gc for mgp.c is very long so perhaps there is a syntax error?
>
> I tried also with 10 earlier snapshots. All give same error. I checked my path
> to ensure that \".\" is in the path. So I assume the problem is really simple to
> solve!
>
> Any comments welcome,
> Gernot
>
>
>
> --
> Gernot Hassenpflug
> Find out how something works, to know its functionality and limits
>