Hi!
> +++ b/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc
> @@ -0,0 +1,20 @@
> +#
> +#    Copyright (C) 2014, Oracle and/or its affiliates. All Rights Reserved.
> +#
> +#    This program is free software; you can redistribute it and/or modify
> +#    it under the terms of the GNU General Public License as published by
> +#    the Free Software Foundation; either version 2 of the License, or
> +#    (at your option) any later version.
> +#
> +#    This program is distributed in the hope that it will be useful,
> +#    but WITHOUT ANY WARRANTY; without even the implied warranty of
> +#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +#    GNU General Public License for more details.
> +#
> +#    You should have received a copy of the GNU General Public License along
> +#    with this program; if not, write to the Free Software Foundation, Inc.,
> +#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> +#
> +
> +LDLIBS               += $(TIRPC_LIBS) -lpthread
> +CPPFLAGS     += $(TIRPC_CPPFLAGS)

This should be:

LDLIBS       += $(TIRPC_LIBS)
CPPFLAGS     += $(TIRPC_CPPFLAGS) -pthread

Because othewise preprocessor flags are not set.

See for example:

http://stackoverflow.com/questions/2127797/gcc-significance-of-pthread-flag-when-compiling

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to