SANGOMA

Wanpipe Installation Problems


  1. FLEX Package not installed
  2. C++ Compiler (g++) not installed
  3. Setup Installation Failure on WanCfg
  4. Debugging a Crashing System


FLEX Package not installed

    To confirm that you do not have the FLEX Package installed, type:
    flex --version
 
    If it says no version for FLEX package found, then you need to install the FLEX package.  

    Try:
    yum install flex
    or:
    apt-get install flex  

   
    You can also find RPMs here

[TOP] 



C++ Compiler not installed

    To confirm that you do not have a C++ Compiler (g++) installed, type:
    g++ --version
 
    If it says no version for g++ package found, then you need to install the gcc-c++ package.  

    Try:
    yum install gcc-c++
    or:
    apt-get install gcc-c++ or: apt-get install g++
    
    You can also find RPMs here

[TOP]


Setup Installation Failure on WanCfg

The install script fails at the utility installation with the following error:

Compiling WANPIPE WanCfg Utility ...
Failed!
                !!! WANPIPE WanCfg Compilation Failed !!!
        Possible solution:
                 FLEX Package not installed
                 Non-standard C/C++ library (eg: ulibc)

This is a catch all error, it may be either FLEX or C++ compiler (g++) is not installed, please confirm that both are.



 

Comments

From joseph - 10/29/09 1:01 PM

Trying to compile wanpipe-3.7.0.6 on Gentoo and I'm getting an error about "bus_id"

---- error ----

 --------------------------------------------------
CFLAGS: gcc -Wp,-MD,.wanpipe.o.d -nostdinc -iwithprefix include -D__LINUX__ -Dlinux -D__KERNEL__ -I/lib/modules/2.6.30-gentoo-r8/build/include  -DMODULE   -DAF_WANPIPE_2612_FORCE_UPDATE -DWANPIPE_MOD_266_FORCE_UPDATE
--------------------------------------------------

Checking for REGPARM kernel option ...Enabled.

Compiling General WANPIPE Driver for 2.6.X Kernel .
---------------------------------------------

WANPIPE DRIVER COMPILE LOG
Thu Oct 29 10:15:35 MDT 2009
-----------------------------------
make -C /lib/modules/2.6.30-gentoo-r8/build SUBDIRS=/usr/src/wanpipe-3.7.0.6/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r8'
  CC [M]  /usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.o
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c: In function ?sdla_usb_create?:
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c:10668: error: ?struct device? has no member named ?bus_id?
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c:10671: error: ?struct device? has no member named ?bus_id?
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c:10673: error: ?struct device? has no member named ?bus_id?
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c: In function ?sdla_usb_remove?:
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c:10713: error: ?struct device? has no member named ?bus_id?
/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.c:10718: error: ?struct device? has no member named ?bus_id?
make[2]: *** [/usr/src/wanpipe-3.7.0.6/kdrvtmp/sdladrv_src.o] Error 1
make[1]: *** [_module_/usr/src/wanpipe-3.7.0.6/kdrvtmp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r8'
make: *** [all] Error 2

--- end error ----

 What is it looking for? 

 

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 8/15/06 5:50 PM