Gcc Error Code 255
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the
Make * * * Error 255
company Business Learn more about hiring developers or posting ads with us Stack Overflow make error code 255 Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Error 255 C++
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Creating my own makefile [Error 255] up vote 1 down vote favorite 1 I have been enjoying the luxury make was unexpected at this time of coding with an IDE that writes my makefile's for me, Iv decided that I have been 'short cutting' for far to long, so I have read a few manuals and watched a few videos on makefiles and have a makefile semi-done, the only trouble that I'm having is I'm not sure how to link libraries. CPPS := $(shell ls src/*cpp) TEMP := $(subst src/,obj/,$(CPPS)) OBJS := $(subst .cpp,.o,$(TEMP)) HEADERS := $(shell ls error 255 twrp inc/*.h) EXEC := bin/testfile all: $(EXEC) $(EXEC) : $(OBJS) $(HEADERS) g++ -I inc/ $(OBJS) -o $(EXEC) -lSDL -lGLU $(EXEC) obj/%.o: src/%.cpp g++ -Wall -I inc/ -c $< -o $@ ps: just incase I am saying the wrong thing when I say 'Library flags' I mean -lSDL -lGLU etc... Wherever I put them they dont seem to work. This is the error I get when I insert the lib flags, make: *** [bin/testfile] Error 255 The Error 255 is produced by make as a result of its command shell not being able to find a command for a particular rule. If i dont include them I get standard 'undefined' messages. Any help with this would be greatly appreciated! Thank you gcc makefile g++ share|improve this question edited Apr 10 '12 at 10:27 asked Apr 10 '12 at 9:57 Elgoog 1,13122241 I dont see any -l flags in the snippet you've pasted! Its difficult to follow things like "10th line" "last line" –Pavan Manjunath Apr 10 '12 at 10:00 Sorry, all fixed :) –Elgoog Apr 10 '12 at 10:03 Can you also tell us what errors you are facing when you say "dont seem to work"? –Pavan Manjunath Apr 10 '12 at 10:08 @PavanManjunath make: *** [bin/testfile] Error 255
Sign in Pricing Blog Support Search GitHub This repository Watch 493 Star 9,808 Fork 2,234 RestKit/RestKit Code Issues 294 Pull requests 16 Projects 0 Wiki Pulse http://stackoverflow.com/questions/10086607/creating-my-own-makefile-error-255 Graphs New issue llvm-gcc-4.2 failed with exit code 255 #412 Closed tilowestermann opened this Issue Oct 17, 2011 · 4 comments Projects None yet Labels None yet Milestone 0.10.0 https://github.com/RestKit/RestKit/issues/412 Assignees No one assigned 4 participants tilowestermann commented Oct 17, 2011 I just pulled the latest version of RestKit and now I'm getting the following error when building RestKit: llvm-gcc-4.2: error trying to exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/../llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2': execvp: No such file or directory Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 255 Any help is appreciated. Thanks, Tilo Details: CompileC /Users/tilo/Library/Developer/Xcode/DerivedData/eMMI-cmwapyiouzgjbdctvdyjipabxovz/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitJSONParser+JSONKit.build/Objects-normal/armv6/JSONKit.o Vendor/JSONKit/JSONKit.m normal armv6 objective-c com.apple.compilers.llvmgcc42 cd /Users/tilo/dev/eMMI/RestKit setenv LANG en_US.US-ASCII setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHO
Visited Search Results View More Blog Recent Blog Posts View More PMs Unread PMs Inbox Send New PM http://www.microchip.com/forums/m839244.aspx View More Page Extras Menu Forum Themes Elegant Mobile Home » https://discussions.apple.com/thread/2356667?tstart=0 All Forums » [Development Tools] » MPLAB X IDE » Build failed : error 255 Mark Thread UnreadFlat Reading Mode❐ AnsweredBuild failed : error 255 Author Post Essentials Only Full Version schneiderj Super Member Total Posts : 485 Reward points : 0 Joined: 2008/01/19 07:46:49Location: error 2 France, close to Paris Status: offline 2014/12/31 03:52:36 (permalink) 0 Build failed : error 255 Hello,I have a error which I am unable to determine what is the cause of it. Here is the output of the compilation :make[2]: Leaving directory `C:/microchip_solutions_v2013-06-15/USB/CARDIO _ Device - Mass Storage - SD Card reader/Firmware/MPLAB.X'c:\program files (x86)\microchip\xc32\v1.33\bin\bin\gcc\pic32mx\4.5.2\..\..\..\..\bin/xc32-ld.exe:--defsym:3: syntax errormake[1]: error code 255 Leaving directory `C:/microchip_solutions_v2013-06-15/USB/CARDIO _ Device - Mass Storage - SD Card reader/Firmware/MPLAB.X'collect2: ld returned 255 exit statusmake[2]: *** [dist/PIC32MX460F512L_PIM/production/MPLAB.X.production.hex] Error 255make[1]: *** [.build-conf] Error 2make: *** [.build-impl] Error 2BUILD FAILED (exit value 2, total time: 17s)What could be the problem ?Thanks you for yuour helpJean-Marie #1 See best answer 3 Replies Related Threads Jose Diaz Administrator Total Posts : 1670 Reward points : 0 Joined: 2010/06/23 11:10:56Location: 0 Status: offline Re: Build failed : error 255 2014/12/31 07:50:46 (permalink) 0 Jean-Marie,Could you copy and paste the whole text (or attach as a file if you prefer) in the output windows?ThanksJose #2 schneiderj Super Member Total Posts : 485 Reward points : 0 Joined: 2008/01/19 07:46:49Location: France, close to Paris Status: offline Re: Build failed : error 255 2014/12/31 08:59:45 (permalink) 0 Hello Jose,here all the output :CLEAN SUCCESSFUL (total time: 200ms)make -f nbproject/Makefile-PIC32MX460F512L_PIM.mk SUBPROJECTS= .build-confmake[1]: Entering directory `C:/microchip_solutions_v2013-06-15/USB/CARDIO _ Device - Mass Storage - SD Card reader/Firmware/MPLAB.X'make -j 8 -f nbproject/Makefile-PIC32MX460F512L_PIM.mk dist/PIC32MX460F512L_PIM/production/MPLAB.X.production.hexmake[2]: Entering directory `C:/microchip_solutions_v2013-06-
not post a blank message. Please type your message and try again. This discussion is locked shaktirsg Level 1 (0 points) Q: Getting error gcc-4.2 failed with exit code 255 When I am trying to run a cocoa application on my snow leopard i getting the following errorCommand /Developer/usr/bin/gcc-4.2 failed with exit code 255 iMac, Mac OS X (10.6.1) Posted on Mar 3, 2010 9:31 PM I have this question too Close Q: Getting error gcc-4.2 failed with exit code 255 All replies Helpful answers by K T, K T Mar 3, 2010 10:14 PM in response to shaktirsg Level 7 (23,844 points) Publishing Mar 3, 2010 10:14 PM in response to shaktirsg Please search first, next time, thanks...http://discussions.apple.com/search.jspa?search=Go&q=Command%2FDeveloper%2Fusr%2Fbin%2Fgcc-4.2+failed+with+exit+code+255 Helpful (0) Reply options Link to this post This site contains user submitted content, comments and opinions and is for informational purposes only. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use. Support Apple Support Communities Shop the Apple Online Store (1-800-MY-APPLE), visit an Apple Retail Store, or find a reseller. Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc. All rights reserved. Terms of Use Updated Privacy Policy Cookie Usage