Re: [Proftpd-user] Having Compiling Issues

"TJ Saunders" <[email protected]> Sat, 25 Feb 2023 07:57:45 -0800
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> I am trying to compile 1.3.8.  I am trying to get mod_shaper to work. I 
> have done this successfully before on other machines but for some 
> reason this compile won’t work. Any guidance on what the error is would 
> be appreciated. Here is what I am doing.

> /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1915: undefined 
> reference to `pr_ctrls_set_module_acls'
> /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_shaper':
> /root/proftpd-1.3.8/modules/mod_shaper.c:1776: undefined reference to 
> `pr_ctrls_check_acl'

I have sometimes seen build issues like this, when the configure command used has been tweaked/changed, but no "make clean" has been run afterward.

I usually use something like this to ensure that no build artifacts remain between runs:

  $ make clean
  $ ./configure ...
  $ make
  $ make install

Does running a "make clean" help or change the behavior you see?

Cheers,
TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html