Raised This Month: $ Target: $400
 0% 

AMXX build error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-11-2015 , 15:01   AMXX build error
Reply With Quote #1

PHP Code:
/home/user/amx/amxmodx/public/memtools/MemoryUtils.cppIn member function ‘size_t MemoryUtils::Format(char*, size_t, const char*, ...):
/
home/user/amx/amxmodx/public/memtools/MemoryUtils.cpp:716:18error‘va_start’ was not declared in this scope
  va_start
(apfmt);
                  ^
/
home/user/amx/amxmodx/public/memtools/MemoryUtils.cpp:718:11error‘va_end’ was not declared in this scope
  va_end
(ap);
           ^
Build failed
Code:
Linux 3.19.0-30-lowlatency #34-Ubuntu SMP PREEMPT Fri Oct 2 22:55:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
__________________
Spirit_12 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-11-2015 , 18:17   Re: AMXX build error
Reply With Quote #2

Usually a missing include like stdarg.h, but no issue with current build. How do you compile? AMBuild? What compiler gcc, clang? what version? Please give useful informations.
__________________

Last edited by Arkshine; 10-11-2015 at 18:18.
Arkshine is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-11-2015 , 22:44   Re: AMXX build error
Reply With Quote #3

Here is the requested information.

Code:
Compiler = gcc-4.9.2
Build Method = AMbuild
Python = 2.7.9 (default, Apr  2 2015, 15:33:21)
Download method = Checkout-deps.sh (Bash script)
__________________
Spirit_12 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-13-2015 , 14:40   Re: AMXX build error
Reply With Quote #4

I've fixed it (#302). Should be okay now. Check latest build.
__________________
Arkshine is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-13-2015 , 17:45   Re: AMXX build error
Reply With Quote #5

Compiles fine now. Thanks for the fix.
__________________
Spirit_12 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode