LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-16-2012, 10:41 AM   #1
lb_dbd
LQ Newbie
 
Registered: Apr 2012
Posts: 8

Rep: Reputation: Disabled
compile problem with gmp 5.0.4 - stray \377 in program


The math library GMP 5.0.4 has a \377 and \376 error in the build. I did the .\configure
followed by the 'make', having trouble finding the root cause, output below:

Making all in mpn
make[2]: Entering directory `/home/boyerl/gcc-4.7.0/gmp/mpn'
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo fib_table | sed 's/_$//'` -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 -c -o fib_table.lo fib_table.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_fib_table -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 -c fib_table.c -o fib_table.o
In file included from ../gmp-impl.h:102:0,
from fib_table.c:3:
../gmp-mparam.h:1:1: error: expected identifier or '(' before '!' token
../gmp-mparam.h:1:1: error: stray '\377' in program
../gmp-mparam.h:1:1: error: stray '\376' in program
../gmp-mparam.h:1:14: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:16: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:18: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:20: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:22: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:24: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:26: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:28: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:30: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:32: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:34: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:36: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:38: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:40: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:42: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:44: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:46: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:48: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:50: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:52: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:54: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:56: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:58: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:60: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:62: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:64: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:66: warning: null character(s) ignored [enabled by default]
../gmp-mparam.h:1:68: warning: null character(s) ignored [enabled by default]
In file included from ../gmp-impl.h:111:0,
from fib_table.c:3:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/inttypes.h:272:1: error: unknown type name 'wchar_t'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/inttypes.h:273:29: error: unknown type name 'wchar_t'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/inttypes.h:274:1: error: unknown type name 'wchar_t'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/inttypes.h:275:9: error: unknown type name 'wchar_t'
Makefile:417: recipe for target `fib_table.lo' failed

Thanks.
 
Old 04-16-2012, 03:18 PM   #2
lb_dbd
LQ Newbie
 
Registered: Apr 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Installed gcc-core, gcc-g++ to cygwin, compiled OK.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
binutils 2.17 compile error: gmp.h: No such file or directory frank zhu Linux From Scratch 5 03-03-2011 03:47 PM
CLFS-6.3. GMP-4.2.4 will not compile pdsmith Linux From Scratch 5 06-07-2009 03:45 AM
Can't Compile GMP with gcc mac 10.4.11 phy1729 Programming 1 04-16-2008 03:06 AM
Stray '/250' in program Sneddo Programming 5 10-10-2003 08:44 AM
Stray '/250' in program Sneddo Linux - Software 0 08-08-2003 03:24 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration