LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   /root/proclist/Makefile:5: *** missing separator. Stop. (https://www.linuxquestions.org/questions/programming-9/root-proclist-makefile-5-%2A%2A%2A-missing-separator-stop-478308/)

xhi 08-31-2006 05:16 PM

> i'd like to know,how r u able to see the TABS that r not visible to me??(any special editor or tool???)
i am using the Kate editor that comes with kde.

> make: *** empty variable name. Stop.
well the good news is that the tab in front of default is gone now, and it tried to run the make command, but failed because MAKE is not defined.

raklo 09-01-2006 10:54 PM

hey XHI,any clue about the Make file prob that we had discussed?????
 
do i explicitly need to define make,arent the things that i have done wth the makefile .
also the line i.e needed to make the module insertable i.e,
Code:

obj-m := proclist.o
not there in the latest Makefile that i have used,as u said without using if and else loops.so wont that create a problem.

xhi 09-02-2006 08:23 AM

> do i explicitly need to define make
if you are going to use a variable (MAKE), you have to define it. in this case you probably want gcc right. so somewhere before its used say
MAKE=/path/to/gcc
then call it
$(MAKE) -C $(KDIR) ...
also its typically called CC, not make

> arent the things that i have done wth the makefile .
also the line i.e needed to make the module insertable i.e

> without using if and else loops.so wont that create a problem.
i just took the ifneq() out to test, because i was getting a missing seperator error. the systax of the ifneq looks ok, but there must be something im missing with it. when i took it out i was able to run the makefile on my machine (it didnt do anything of course except tell me that it could not find those files, but it ran)

have you tried any other editors since posting? like i said i used the Kate editor, and i also used the Joe editor on this and it writes fine for me.


All times are GMT -5. The time now is 07:19 AM.