LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2004, 04:01 PM   #1
rumle8905
LQ Newbie
 
Registered: Aug 2004
Location: Denmark
Distribution: suse 10.1, knoppix5
Posts: 4

Rep: Reputation: 0
sourcecode>./configure>make=failure


Hi I'm trying to install a microcontroller assembler IDE ( MPLAB ) from microchip
I have untared the relevant (mplabal30...tar.gz) file and cd'ed to the unpaked files directory.
from the unpacked directory i have ( as suggested in the readme file ) typed "./configure" <enter> and then typed "make" <enter>. the last few lines in bash goes:
from app.c:30:
config/tc-i386.h:160: error: parse error before '*' token
config/tc-i386.h:164: error: parse error before "expressionS"
In file included from obj-format.h:1,
from config/te-linux.h:4,
from targ-env.h:1,
from as.h:622,
from app.c:30:
config/obj-elf.h:72: error: parse error before "expressionS"
config/obj-elf.h:72: warning: no semicolon at end of struct or union
config/obj-elf.h:84: error: parse error before '}' token
make[3]: *** [app.o] Fejl 1
make[3]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make[1]: *** [all-recursive-am] Fejl 2
make[1]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make: *** [all-gas] Fejl 2
[root@dhcppc0 acme]#

Fejl=Error

this is from Mandrake 10.0 on my big box, i have also tried with the exactly the same result on my notebook with debian. I have only tried Linux for a week so I hope I'm doing something wrong. :-)

John
 
Old 08-28-2004, 05:40 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Not quite enough of the output ...

There must have been errors above the
Code:
 from app.c:30:
config/tc-i386.h:160: error: parse error before '*' token

Cheers,
Tink
 
Old 08-29-2004, 01:13 AM   #3
rumle8905
LQ Newbie
 
Registered: Aug 2004
Location: Denmark
Distribution: suse 10.1, knoppix5
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, here are more lines from bash: ( I have uploaded the full session "configure+make" at http://users.cybercity.dk/~dsl91020/linux/mplabmake 58kbyte file ). I hope this helps.

bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o(.text+0x3a2): In function `make_tempname':
/home/john/Download/Mplab/acme/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o bin2hex bin2hex.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -g -O2 -o bin2hex bin2hex.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o(.text+0x3a2): In function `make_tempname':
/home/john/Download/Mplab/acme/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o addr2line addr2line.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -g -O2 -o addr2line addr2line.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o(.text+0x3a2): In function `make_tempname':
/home/john/Download/Mplab/acme/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o nm-new nm.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -g -O2 -o nm-new nm.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o(.text+0x3a2): In function `make_tempname':
/home/john/Download/Mplab/acme/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2 -o strip-new objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -g -O2 -o strip-new objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o(.text+0x3a2): In function `make_tempname':
/home/john/Download/Mplab/acme/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
echo '/*WARNING: This file is automatically generated!*/' >underscore.t
echo "int prepends_underscore = 0;" >>underscore.t
/bin/sh ./../move-if-change underscore.t underscore.c
underscore.c is unchanged
touch stamp-under
sed -e 's/@PROGRAM@/c++filt/' < ./cxxfilt.man \
> c++filt.1
make[3]: Leaving directory `/home/john/Download/Mplab/acme/binutils'
make[2]: Leaving directory `/home/john/Download/Mplab/acme/binutils'
make[1]: Leaving directory `/home/john/Download/Mplab/acme/binutils'
make[1]: Entering directory `/home/john/Download/Mplab/acme/etc'
make[1]: Ingenting at gøre for 'all'.
make[1]: Leaving directory `/home/john/Download/Mplab/acme/etc'
make[1]: Entering directory `/home/john/Download/Mplab/acme/gas'
make all-recursive
make[2]: Entering directory `/home/john/Download/Mplab/acme/gas'
Making all in doc
make[3]: Entering directory `/home/john/Download/Mplab/acme/gas/doc'
make[3]: Ingenting at gøre for 'all'.
make[3]: Leaving directory `/home/john/Download/Mplab/acme/gas/doc'
Making all in po
make[3]: Entering directory `/home/john/Download/Mplab/acme/gas/po'
make[3]: Ingenting at gøre for 'all'.
make[3]: Leaving directory `/home/john/Download/Mplab/acme/gas/po'
make[3]: Entering directory `/home/john/Download/Mplab/acme/gas'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../bfd -I./../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -g -O2 -c app.c
In file included from targ-cpu.h:1,
from config/obj-elf.h:42,
from obj-format.h:1,
from config/te-linux.h:4,
from targ-env.h:1,
from as.h:622,
from app.c:30:
config/tc-i386.h:160: error: parse error before '*' token
config/tc-i386.h:164: error: parse error before "expressionS"
In file included from obj-format.h:1,
from config/te-linux.h:4,
from targ-env.h:1,
from as.h:622,
from app.c:30:
config/obj-elf.h:72: error: parse error before "expressionS"
config/obj-elf.h:72: warning: no semicolon at end of struct or union
config/obj-elf.h:84: error: parse error before '}' token
make[3]: *** [app.o] Fejl 1
make[3]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make[1]: *** [all-recursive-am] Fejl 2
make[1]: Leaving directory `/home/john/Download/Mplab/acme/gas'
make: *** [all-gas] Fejl 2
[root@dhcppc0 acme]#

"ingenting at gøre for"=nothing to do for
"fejl"=Fail, error

John
 
Old 08-29-2004, 03:17 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Glad to see you're using emacs ;}

Stabbing in the dark here, but you either have
included the wrong version of the targ-cpu.h
in the ./configure process, or the source is
simply buggy ... If your gcc is from the 3.x
series the code may just be on a level of
ANSI compliance that the new compiler
doesn't like.


Cheers,
Tink
 
Old 08-29-2004, 03:45 AM   #5
rumle8905
LQ Newbie
 
Registered: Aug 2004
Location: Denmark
Distribution: suse 10.1, knoppix5
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your reply Tinkster
Well emacs is on the first line among other texteditors, and I'm a little lazy so..
I will post my question on http://forum.microchip.com and return here keep you (all ) informed

John
 
  


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
psmisc configure failure mlinuxk Linux From Scratch 9 08-13-2005 01:36 AM
kopete installation from sourcecode -> ./configure error xelt Linux - Newbie 1 04-15-2005 04:05 AM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:45 AM.

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