Gcc Error 258
CommunitiesAVR FreaksAtmel SMART ARM-based MCUsInternet of ThingsCapacitive TouchProjectsVendorsWiki You are hereHome » Communities » AVR Freaks » Forums » Tools » Compilers and General Programming » Error with Eclipse Main menu mobile Home Communities Forums Projects Vendors Wiki Search My summary Privacy Contact Site Use Terms Cookies Communities Forums Projects Vendors WIKI Error with Eclipse Log in or register to post comments Go To Last Post 10 posts / 0 new Author Message Asinus Level: New Member Joined: Wed. Oct 4, 2006 Posts: 4 View posts #1 Posted by Asinus: Wed. Oct 4, 2006 - 10:55 PM Fivestar widget 12345Total votes: 0 Hi, I'm realy new in using C to program microprozessors and on my first project I've got a problem that I cant solve... :( But first a few informations: I'm using WinAVR on an WindowsXP Pro SP1 System with Eclipse 3.2. I wrote a very simple code so there are no problems with that. Although Eclipse found an amazing error: make: *** [test8515.o] Error 258 in line:0 !! Is someone able to help me? Please! Thx guys. Tags:Tools, Compilers and General Programming Log in / register to post comments Top arturl Level: Hangaround Joined: Tue. Jan 21, 2003 Posts: 156 View posts Location: Cracow, Poland #2 Posted by arturl: Thu. Oct 5, 2006 - 06:50 AM 12345Total votes: 0 What type of project you use - standard or managed make? Is your avr-gcc on the PATH variable? Regards, -- ARtur Lipowski Log in or register to post comments Top Asinus Level: New Member Joined: Wed. Oct 4, 2006 Posts: 4 View posts #3 Posted by Asinus: Thu. Oct 5, 2006 - 10:05 AM 12345Total votes: 0 I use a managed-make-Project because I don't know how to make a makefile ;) Yes, I'm realy sure that avr-gcc is on my PATH-variable bacause my cmd knows the avr-gcc-command. I just found some more informations: The console-output :) **** Build of configuration Debug for project avr-test **** make -k all Building file: ../test8515.c Invoking: GCC C Compiler avr-gcc -I"C:\Programme\C\WinAVR\avr\include\avr" -I"C:\Programme\C\WinAVR\avr\include\" -O0 -g3 -Wall -c -fmessage-length=0 -mmcu=atmega16 -MMD -MP -MF"test8515.d" -MT"test8515.d" -o"test8515.o" "../test8515.c" /usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `"' /usr/bin/sh: -c: line 2: syntax error: unexpected end of file make: *** [test8515.o] Error 258 make: Target `all' not remade because of errors. Build complete for project avr-test Hope this makes it easier to identify the Problem. bye Log in or register to post comments Top dl8dtl Level: Raving Lunatic Joined: Fri. Dec 20, 2002 Posts: 7524 View posts Location: Dr
Windows and many major Linux distros here . Home Help Search Login Register Wiki Code::Blocks » User forums » Help » Error before compiling « previous next » Send this topic Print Pages: [1] Go Down Author Topic: Error before compiling (Read 8414 times) dmikos Guest Error before compiling « on: January 11, 2005, 10:42:29 pm » mingw32-make.exe: [.deps/main.d] Error 258 (ignored)main.cpp:0: fatal error: opening dependency http://www.avrfreaks.net/forum/error-eclipse file .deps/main.d: No such file or directorycompilation terminated.mingw32-make.exe: *** [.deps/main.d] Error 1Process terminated with status 1 (0 minutes, 1 seconds)0 errors, 0 warnings Logged hd Multiple posting newcomer Posts: 43 Error before compiling « Reply #1 on: January 12, 2005, 12:59:35 am » Hi,You may create these directories (.deps and .objs) in your http://forums.codeblocks.org/index.php?topic=65.0 source file directory by hand.If you "export" Makefile you will see commands to create these directories.HTH--Regards,Hakki Dogusan Logged mandrav Project Leader Administrator Lives here! Posts: 4291 Error before compiling « Reply #2 on: January 12, 2005, 09:07:26 am » The point is that they should be automatically created...Maybe the folder is read-only or you don't have write permission? Or are you working on a read-only medium (like a CD)?If none of these are true, please export the Makefile and post it here.Yiannis. Logged Be patient!This bug will be fixed soon... Anonymous Guest Error before compiling « Reply #3 on: January 12, 2005, 10:35:15 am » ################################################################################ Makefile automatically generated by Code::Blocks IDE ################################################################################# Project: ost# Project filename: C:\Dev-Cpp\PROJECTS\OST2\ost.cbp# Date: 01/12/05 14:25:13# Compiler used: MinGW Compiler Suite### Variables used in this MakefileRM=rm -fZIP=zip.exe -aZIP_EXT=zipCC=mingw32-gcc.exeCPP=mingw32-g++.exeLD=ld.exeRESCOMP=windres.exe### Compiler/linker optionsGLOBAL_CFLAGS= -gPROJECT_CFLAGS=GLOBAL_LDFLAGS=PROJECT_
Topic List New Topic Search Register User List Log In Problem with make all. Author: Sevc Dominik (sevc) Posted on: 2007-01-01 22:23 Rate this post 0 ▲ useful ▼ not useful Hi all. I'm again start to play with WinArm ( :-) ). I download latest version http://embdev.net/topic/129541 of WinARM and istall. From: http://www.siwawi.arubi.uni-kl.de/avr_projects/arm... I download AT91 USB Core + HID Code and try to compile but show : Building startup.o ... /usr/bin/sh: -c: line 2: syntax error: unexpected end of file make.exe: *** [startup.o] Error 258 I can't http://mingw-users.1079350.n2.nabble.com/Error-with-mingw32-make-and-MSYS-td7578682.html find error . what I set incorect?? regards. Report post Edit Move Thread sperren Delete topic Thread mit anderem zusammenführen Quote selected text Reply Reply with quote Re: Problem with make all. Author: Sevc Dominik (sevc) Posted on: 2007-01-01 22:29 Rate gcc error this post 0 ▲ useful ▼ not useful Hi again. On web page is solution rename sh.exe . I understand why this help, but now all OK. regards Sevc Dominik wrote: > Hi all. > I'm again start to play with WinArm ( :-) ). > I download latest version of WinARM and istall. > From: > http://www.siwawi.arubi.uni-kl.de/avr_projects/arm... > > I download AT91 USB Core + HID Code and try to compile but show : > > Building startup.o ... > /usr/bin/sh: -c: gcc error 258 line 2: syntax error: unexpected end of file > make.exe: *** [startup.o] Error 258 > > I can't find error . > what I set incorect?? > > regards. Report post Edit Delete Quote selected text Reply Reply with quote Re: Problem with make all. Author: Ecc Exelty (exelty) Posted on: 2007-02-11 13:30 Rate this post 0 ▲ useful ▼ not useful Rename it to what? I am having trouble with this too. Is there a bug in the makefile? mt? (eg on the USB HID code) >Sevc Dominik wrote: > Hi again. > > On web page is solution rename sh.exe . > I understand why this help, but now all OK. > > regards > > Sevc Dominik wrote: Report post Edit Delete Quote selected text Reply Reply with quote Re: Problem with make all. Author: Martin Thomas (Guest) Posted on: 2007-02-13 15:43 Rate this post 0 ▲ useful ▼ not useful Ben Exelty wrote: > Rename it to what? I am having trouble with this too. Is there a bug in > the makefile? mt? (eg on the USB HID code) > >>Sevc Dominik wrote: >> Hi again. >> >> On web page is solution rename sh.exe . >> I understand why this help, but now all OK. >> >> regards >> >> Sevc Dominik wrote: This issue has been discussed in another thread. In short: There is not a "real" bug in the makefile. It's more a problem of the make
Report Content as Inappropriate ♦ ♦ Error with mingw32-make and MSYS Hi,I have installed MinGW under C:\MinGW directory and MSYS under C:\MinGW\msys directory. Also I updated my Windows system PATH variable with the following paths: C:\MinGW\bin, C:\MinGW\msys\1.0\bin. When I issue mingw32-make command on my project makefile, it elicits the error message below: Building file: ../bits.cInvoking: GCC C Compilergcc -DNULL=(void*)0 -I"H:\Experiment\Shared\simulator" -O3 -Wall -c -fmessage-le ngth=0 -MMD -MP -MF"bits.d" -MT"bits.d" -o "bits.o" "../bits.c"/usr/bin/sh: -c: line 0: syntax error near unexpected token `('/usr/bin/sh: -c: line 0: `gcc -DNULL=(void*)0 -I"H:\Experiment\Shared\simulator" -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"bits.d" -MT"bits.d" -o "bits.o" "../bits.c"'mingw32-make: *** [bits.o] Error 258 But, "mingw32-make clean" works fine. Surprisingly, when I remove MSYS bin path from the PATH variable, make works fine, but clean fails as it doesn't find "rm" in the search path. Can anyone suggest how to make them both work together? -- Thanks & Regards, Dipanjan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ MinGW-users mailing list [hidden email] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-usersAlso: mailto:[hidden email]?subject=unsubscribe Eli Zaretskii Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Error with mingw32-make and MSYS > Date: Sat, 18 Aug 2012 11:30:39 +0530 > From: Dipanjan Das <[hidden email]> > > I have installed MinGW under C:\MinGW directory and MSYS