Changes between Version 1 and Version 2 of Frequently Asked Questions


Ignore:
Timestamp:
Jul 7, 2008, 9:33:23 AM (16 years ago)
Author:
Nicolas Pouillon
Comment:

make going wrong

Legend:

Unmodified
Added
Removed
Modified
  • Frequently Asked Questions

    v1 v2  
     1
     2= Installation issues =
     3
     4== Utilities compilation going wrong ==
     5
     6 When I try to compile the Soclib tools I am getting the following error:
     7
     8{{{
     9make[1]: Entering directory `/lip6/soclib/utils/src/pipe2fb'
     10make[1]: Nothing to be done for `Makefile'.
     11make[1]: Leaving directory `/lip6/soclib/utils/src/pipe2fb'
     12make[1]: Entering directory `/lip6/soclib/utils/src/xtty'
     13gcc -c -o xtty.o xtty.c  -Wall -O2
     14gcc -o soclib-xtty xtty.o -L/usr/X11R6/lib -lX11 -lXpm
     15make[1]: Leaving directory `/lip6/soclib/utils/src/xtty'
     16make[1]: Entering directory `/lip6/soclib/utils/src/fb_screen'
     17cc `sdl-config --cflags` -Wall -O2  linux -c -o fb.o fb.c
     18gcc: linux: No such file or directory
     19make[1]: *** [fb.o] Error 1
     20make[1]: Leaving directory `/lip6/soclib/utils/src/fb_screen'
     21make: *** [all] Error 1
     22}}}
     23
     24It looks like you have the `TARGET_ARCH` environment variable set. Make is doing some silly replacements when it is set. Unset it and try again:
     25
     26{{{
     27$ unset TARGET_ARCH
     28$ make
     29}}}
    130
    231= Cross-compilation issues =