Results 1 to 4 of 4

Thread: make a file on qtopia errors

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2014
    Posts
    2
    Qt products
    Platforms
    MacOS X

    Default make a file on qtopia errors

    Im trying to compile a program on a friendlyARM qtopia 2.2.0 but i getting some errors and quite frankly i don't know what i'm doing

    Makefile code:
    Qt Code:
    1. IDIR =./
    2. CC=gcc
    3. CFLAGS=-I$(IDIR)
    4.  
    5. ODIR=obj
    6. LDIR =./
    7.  
    8. LIBS=-lgd -lrt
    9.  
    10. _DEPS = main.h Makefile
    11. DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS))
    12.  
    13. _OBJ = main.o serial.o fb.o menu_main.o timer.o cmdin.o buzzer.o statemachine.o inout.o network.o text_file_input.o text_file_input_oven.o
    14. OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
    15.  
    16.  
    17. $(ODIR)/%.o: %.c $(DEPS)
    18. $(CC) -c -o $@ $< $(CFLAGS)
    19.  
    20. main: $(OBJ)
    21. gcc -o $@ $^ $(CFLAGS) $(LIBS)
    22.  
    23. .PHONY: clean
    24.  
    25. clean:
    26. rm -f $(ODIR)/*.o *~ core $(INCDIR)/*~
    To copy to clipboard, switch view to plain text mode 

    error codes:
    Qt Code:
    1. /sdcard/images/makef # Makefile
    2. Makefile: line 1: IDIR: not found
    3. Makefile: line 3: IDIR: not found
    4. Makefile: line 6: LDIR: not found
    5. Makefile: line 8: -lrt: not found
    6. Makefile: line 10: _DEPS: not found
    7. Makefile: line 11: IDIR: not found
    8. Makefile: line 11: _DEPS: not found
    9. Makefile: line 11: patsubst: not found
    10. Makefile: line 11: DEPS: not found
    11. Makefile: line 13: _OBJ: not found
    12. Makefile: line 14: ODIR: not found
    13. Makefile: line 14: _OBJ: not found
    14. Makefile: line 14: patsubst: not found
    15. Makefile: line 14: OBJ: Permission denied
    16. Makefile: line 17: ODIR: not found
    17. Makefile: line 17: DEPS: not found
    18. Makefile: line 17: /%.o:: not found
    19. Makefile: line 18: CC: not found
    20. Makefile: line 18: CFLAGS: not found
    21. Makefile: line 18: can't open : no such file
    22. Makefile: line 18: -c: not found
    23. Makefile: line 20: OBJ: Permission denied
    24. Makefile: line 20: main:: not found
    25. Makefile: line 21: CFLAGS: not found
    26. Makefile: line 21: LIBS: not found
    27. Makefile: line 21: gcc: not found
    28. Makefile: line 23: .PHONY:: not found
    29. Makefile: line 25: clean:: not found
    30. Makefile: line 26: ODIR: not found
    31. Makefile: line 26: INCDIR: not found
    To copy to clipboard, switch view to plain text mode 

    when i use "make -f Makefile" i get this error "bin/sh: make: not found" there is a "sh" file in the bin folder but it look like i need to install some more stuff, any markers on this ?
    Last edited by mmkevin; 11th April 2014 at 19:51.

Similar Threads

  1. nedd help on MAKE ERROR of qtopia opensource 4.2.4 PLZ
    By halloworld in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 25th November 2008, 10:35
  2. How can we make multi views with Qtopia
    By learning_qt in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd September 2008, 03:09
  3. make error when compile qtopia 4.2.4
    By evewei in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd November 2007, 12:44
  4. Qtopia core 4 make problem on FC5
    By nousetest in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 8th April 2007, 11:44
  5. Qt4.1.4 make errors.
    By impeteperry in forum Installation and Deployment
    Replies: 11
    Last Post: 1st July 2006, 18:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.