Welcome! Log In Create A New Profile


"No rule to make target" on make

Posted by NginxModule 
"No rule to make target" on make
June 28, 2019 03:16PM
i'm new here and also just take my first steps with Nginx-Module-Programming.

Last week I've create my first Test following this:

and all works.
Today i've changed the cpp-File a little bit and tried again.
The Configuration runs without a Problem, but when i use "make" it says:

make[1]: *** No rule to make target '/home/user1/test//ngx_http_hello_world_module.cpp', needed by 'objs/addon/test/ngx_http_hello_world_module.o'. Stop.

Then i delete all and create the first (hello_world from the site above) again, but also with the same result.
The module-Cpp is an exact copy of the hello_world and the config contains the following:

HTTP_MODULES="$HTTP_MODULES ngx_http_hello_world_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_hello_world_module.cpp"

Can anyone tell me, what's going on now?
Re: "No rule to make target" on make
August 04, 2019 12:18PM
Just my fault.

In the config it is "ngx_http_hello_world_module".
But the CPP-File "ngx_hello_world_module".
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready