radiusplugin-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Radiusplugin-users] compile problem ubuntu


From: Ralf Lübben
Subject: Re: [Radiusplugin-users] compile problem ubuntu
Date: Mon, 5 Jan 2009 19:18:35 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

Hi,

the errors occur with new gcc/g++ versions, some header files changed.

The CVS repo already contains a solution for the problem.

CVS access: 
"cvs -z3 -d:pserver:address@hidden:/sources/radiusplugin co 
radiusplugin"

Ralf

Am Montag 05 Januar 2009 10:44:58 schrieb Robert Svensson:
> Hi,
> I'm unable to compile the source for the radius plugin.
>
> I have installed the libgcrypt libs (called libgcrypt11 on ubuntu for some
> reason)
>
> But when I execute make I get:
> OBJ:  RadiusClass/RadiusConfig.o
> RadiusClass/RadiusConfig.cpp: In constructor
> ‘RadiusConfig::RadiusConfig()’: RadiusClass/RadiusConfig.cpp:31: error:
> ‘memset’ was not declared in this scope RadiusClass/RadiusConfig.cpp: In
> constructor ‘RadiusConfig::RadiusConfig(char*)’:
> RadiusClass/RadiusConfig.cpp:47: error: ‘memset’ was not declared in this
> scope RadiusClass/RadiusConfig.cpp: In member function ‘int
> RadiusConfig::parseConfigFile(const char*)’:
> RadiusClass/RadiusConfig.cpp:91: error: ‘strncmp’ was not declared in this
> scope RadiusClass/RadiusConfig.cpp:99: error: ‘strncmp’ was not declared in
> this scope RadiusClass/RadiusConfig.cpp:107: error: ‘strncmp’ was not
> declared in this scope RadiusClass/RadiusConfig.cpp:115: error: ‘strncmp’
> was not declared in this scope RadiusClass/RadiusConfig.cpp:123: error:
> ‘strncmp’ was not declared in this scope RadiusClass/RadiusConfig.cpp:131:
> error: ‘strncmp’ was not declared in this scope
> RadiusClass/RadiusConfig.cpp:144: error: ‘strstr’ was not declared in this
> scope RadiusClass/RadiusConfig.cpp:152: error: ‘atoi’ was not declared in
> this scope RadiusClass/RadiusConfig.cpp:156: error: ‘atoi’ was not declared
> in this scope RadiusClass/RadiusConfig.cpp:164: error: ‘atoi’ was not
> declared in this scope RadiusClass/RadiusConfig.cpp:172: error: ‘atoi’ was
> not declared in this scope RadiusClass/RadiusConfig.cpp:175: error:
> ‘strstr’ was not declared in this scope RadiusClass/RadiusConfig.cpp: In
> member function ‘void RadiusConfig::setServiceType(char*)’:
> RadiusClass/RadiusConfig.cpp:265: error: ‘strncpy’ was not declared in this
> scope RadiusClass/RadiusConfig.cpp: In member function ‘void
> RadiusConfig::setFramedProtocol(char*)’: RadiusClass/RadiusConfig.cpp:279:
> error: ‘strncpy’ was not declared in this scope
> RadiusClass/RadiusConfig.cpp: In member function ‘void
> RadiusConfig::setNASPortType(char*)’: RadiusClass/RadiusConfig.cpp:296:
> error: ‘strncpy’ was not declared in this scope
> RadiusClass/RadiusConfig.cpp: In member function ‘void
> RadiusConfig::setNASIdentifier(char*)’: RadiusClass/RadiusConfig.cpp:312:
> error: ‘strncpy’ was not declared in this scope
> RadiusClass/RadiusConfig.cpp: In member function ‘void
> RadiusConfig::setNASIpAddress(char*)’: RadiusClass/RadiusConfig.cpp:329:
> error: ‘strncpy’ was not declared in this scope make: ***
> [RadiusClass/RadiusConfig.o] Error 1
>
>
> Any ideas?
>
>
> _______________________________________________
> Radiusplugin-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/radiusplugin-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]