#2490 closed (fixed)

bcrelay not compiled correctly?

Reported by: pcmxgti Owned by:
Keywords: bcrelay, pptpd Cc:

Description

pptpd + bcrelay do not work as expected in (at least build 16785 through 18497)

broadcast relays do not work across the pptp link. Further examining the binaries shows that pptpd was compiled without bcrelay support, although the bcrelay binary does exist. Starting bcrelay manually yields:

bcrelay: pptpd was compiled without support for bcrelay, exiting.
         run configure --with-bcrelay, make, and install.

This is from bcrelay.c:

#ifndef BCRELAY
  fprintf(stderr,
          "bcrelay: pptpd was compiled without support for bcrelay, exiting.\n"
          "         run configure --with-bcrelay, make, and install.\n");
  exit(1);
#endif

running pptpd with -b option:

/usr/sbin/pptpd: illegal option -- b

further looking at src/router/pptpd-accel/config.log shows bad ./configure flags:

 --with-bcrelay 

where it should have been run as:

--enable-bcrelay

re-running ./configure with the correct options allows pptpd and bcrelay to compile correctly.

Router Model Asus RT-N12B Firmware Version DD-WRT v24-sp2 (04/13/11) mini - build 16785 Linux DD-WRT 2.6.24.111 #5173 Wed Apr 13 03:01:49 CEST 2011 mips unknown

Change History (3)

comment:1 Changed 14 months ago by BrainSlayer

  • Resolution set to invalid
  • Status changed from new to closed

this build is very old. there are much newer available. but anyway. i will recheck that to ensure that its supported

comment:2 Changed 14 months ago by BrainSlayer

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:3 Changed 14 months ago by BrainSlayer

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.