Displaying 20 results from an estimated 43 matches for "pthread_lib".
Did you mean:
pthread_libs
2000 Jul 07
0
vorbize and os_type patches + general build issues
...thanks.
have fun,
greg
--
this signature intentionally left blank
Index: cmdline/Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis/cmdline/Makefile.in,v
retrieving revision 1.5
diff -r1.5 Makefile.in
28c28
< LIBS=@LIBS@ @pthread_lib@
---
> LIBS=@LIBS@ @pthread_lib@ getopt.a
30c30,31
< OFILES = getopt.o getopt1.o main.o
---
> OFILES = main.o
> GETOPT_OBJECTS = getopt.o getopt1.o
43,44c44,45
< target: $(OFILES) ../lib/libvorbis.a
< $(LD) $(CFLAGS) $(OFILES) $(LDFLAGS) ../lib/libvorbis.a -o vorbis $(LIBS)
---...
2023 Mar 19
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
...+
> +
> + ## Notes ##
> + v4:
> +
> + - pick up R-b's from Rich and Eric
> +
> + - "errors.c" makes the test case dependent on pthread_getspecific(), so
> + reflect Eric's commit 742cbd8c7adc ("lib: Use PTHREAD_LIBS where
> + needed", 2023-03-17), that is, "xxx_LDADD = $(PTHREAD_LIBS)", to this
> + test case [thanks to Eric for that fixup BTW]
> +
> + - replace EXIT trap handler with cleanup_fn [Eric]
> +
> + - Create "subdir/f"...
2011 Nov 03
3
[PATCH 0 of 2 RESEND] tools: add two new compile flags and perform checks on user defined folders.
Added two new sets of compile flags, and pass them to the check scripts, so libraries and includes are searched there also.
Resend this patches because they suffered some modifications and where scattered along the mailing list.
Please review, thanks Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2019 Jun 27
1
[libnbd PATCH] maint: Use $(NULL) for all Makefile.am macro lists
...$(NULL)
threaded_reads_and_writes_CPPFLAGS = \
- -I$(top_srcdir)/include
+ -I$(top_srcdir)/include \
+ $(NULL)
threaded_reads_and_writes_CFLAGS = \
$(WARNINGS_CFLAGS) \
- $(PTHREAD_CFLAGS)
+ $(PTHREAD_CFLAGS) \
+ $(NULL)
threaded_reads_and_writes_LDADD = \
$(top_builddir)/lib/libnbd.la \
- $(PTHREAD_LIBS)
+ $(PTHREAD_LIBS) \
+ $(NULL)
batched_read_write_SOURCES = \
- batched-read-write.c
+ batched-read-write.c \
+ $(NULL)
batched_read_write_CPPFLAGS = \
- -I$(top_srcdir)/include
+ -I$(top_srcdir)/include \
+ $(NULL)
batched_read_write_CFLAGS = \
- $(WARNINGS_CFLAGS)
+ $(WARNINGS_CFLAGS) \
+ $(...
2011 Nov 22
7
[PATCH] use ncurses-config to find all curses related libs
...ig/StdGNU.mk
--- a/config/StdGNU.mk
+++ b/config/StdGNU.mk
@@ -67,7 +67,7 @@ XEN_CONFIG_DIR = $(CONFIG_DIR)/xen
XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
SOCKET_LIBS =
-CURSES_LIBS = -lncurses
+CURSES_LIBS = $(shell if ! ncurses5-config --libs 2>/dev/null ; then ncurses-config --libs ; fi)
PTHREAD_LIBS = -lpthread
UTIL_LIBS = -lutil
DLOPEN_LIBS = -ldl
2000 Nov 10
1
cvs trunk vorbis/ compile patches
...rs missing aclocal.m4 configure doc
debug:
diff -bBu2rN -x CVS -x Make*in -x aclocal.m4 vorbis-trunk/configure.in vorbis/configure.in
--- vorbis-trunk/configure.in Wed Nov 8 03:36:35 2000
+++ vorbis/configure.in Thu Nov 9 23:00:40 2000
@@ -150,5 +150,5 @@
AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
-AM_PATH_OGG(LIBS="$LIBS $OGG_LIBS", AC_MSG_ERROR(must have Ogg installed!))
+AM_PATH_OGG(LIBS="$LIBS", AC_MSG_ERROR(must have Ogg installed!))
dnl --------------------------------------------------
@@ -167,3 +167,3 @@
AC_SUBST(pthread_lib)
-AC_...
2019 Jun 04
0
[PATCH libnbd v2 4/4] examples: Add concurrent writer example.
...@@ -21,6 +21,7 @@ EXTRA_DIST = LICENSE-FOR-EXAMPLES
noinst_PROGRAMS = \
batched-read-write \
+ concurrent-writer \
simple-fetch-first-sector \
simple-reads-and-writes \
threaded-reads-and-writes
@@ -54,6 +55,17 @@ threaded_reads_and_writes_LDADD = \
$(top_builddir)/lib/libnbd.la \
$(PTHREAD_LIBS)
+concurrent_writer_SOURCES = \
+ concurrent-writer.c
+concurrent_writer_CPPFLAGS = \
+ -I$(top_srcdir)/include
+concurrent_writer_CFLAGS = \
+ $(WARNINGS_CFLAGS) \
+ $(PTHREAD_CFLAGS)
+concurrent_writer_LDADD = \
+ $(top_builddir)/lib/libnbd.la \
+ $(PTHREAD_LIBS)
+
batched_read_write_SOURCES...
2004 Sep 10
0
XMMS plugin build fix
...;s the Makefile.am for the vorbis plugin:
if HAVE_OGGVORBIS
lib_LTLIBRARIES = libvorbis.la
endif
libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)
INCLUDES = @GTK_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ -I$(top_builddir)/intl
libvorbis_la_LDFLAGS = -module -avoid-version
libvorbis_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@
libvorbis_la_SOURCES = \
vorbis.c vorbis.h \
configure.c \
http.c http.h \
fileinfo.c \
vcedit.c vcedit.h \
utf8.c
--
- mdz
2000 Nov 19
0
potential BeOS fix
...G="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
@@ -167,7 +162,6 @@
dnl Do substitutions
dnl --------------------------------------------------
-AC_SUBST(LIB_VORBIS)
AC_SUBST(DEBUG)
AC_SUBST(PROFILE)
AC_SUBST(pthread_lib)
<HR NOSHADE>
<UL>
<LI>application/x-be_attribute attachment: BeOS_Attributes
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BeOS_Attributes
Type: application/octet-stream
Size: 116 bytes
Desc: not available
Url : http://lists.xiph...
2001 Jun 27
1
Patch to get libvorbis 1.0b4 to build on Solaris 2.7
..../../libvorbis-1.0beta4/configure.in Wed Jun 27 10:38:19 2001
@@ -152,6 +152,7 @@
dnl --------------------------------------------------
AC_CHECK_LIB(m, cos, LIBS="-lm", LIBS="")
+AC_CHECK_LIB(m, sqrtf, AC_DEFINE(HAVE_FLOAT_MATH_LIB), )
AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
AM_PATH_OGG(LIBS="$LIBS $OGG_LIBS", AC_MSG_ERROR(must have Ogg installed!))
--- lib/os.h Sun Feb 25 22:37:59 2001
+++ ../../libvorbis-1.0beta4/lib/os.h Wed Jun 27 10:42:30 2001
@@ -38,19 +38,10 @@
#ifdef _WIN32
# include <malloc.h>
# define rint(x)...
2008 May 03
2
Cross compiling Linux -> windows has broken
...d that configure.ac has a redundant check. This patch fixes
it:
------8<------8<------8<------8<------8<------8<------8<------8<------
--- configure.ac (revision 14830)
+++ configure.ac (working copy)
@@ -203,13 +203,7 @@
AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
HAVE_OGG=no
-dnl first check through pkg-config
-dnl check for pkg-config itself so we don't try the m4 macro without pkg-config
-AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes)
-if test "x$HAVE_PKG_CONFIG" = "xyes"
-then
- PKG_CHECK_MODULES(OGG...
2019 Jun 03
0
[PATCH libnbd discussion only 5/5] examples: Add concurrent writer example.
...@@ -21,6 +21,7 @@ EXTRA_DIST = LICENSE-FOR-EXAMPLES
noinst_PROGRAMS = \
batched-read-write \
+ concurrent-writer \
simple-fetch-first-sector \
simple-reads-and-writes \
threaded-reads-and-writes
@@ -54,6 +55,17 @@ threaded_reads_and_writes_LDADD = \
$(top_builddir)/lib/libnbd.la \
$(PTHREAD_LIBS)
+concurrent_writer_SOURCES = \
+ concurrent-writer.c
+concurrent_writer_CPPFLAGS = \
+ -I$(top_srcdir)/include
+concurrent_writer_CFLAGS = \
+ $(WARNINGS_CFLAGS) \
+ $(PTHREAD_CFLAGS)
+concurrent_writer_LDADD = \
+ $(top_builddir)/lib/libnbd.la \
+ $(PTHREAD_LIBS)
+
batched_read_write_SOURCES...
2002 Jul 13
0
libvorbis make and spec fixes
...=========================================================
RCS file: /usr/local/cvsroot/vorbis/configure.in,v
retrieving revision 1.61
diff -u -r1.61 configure.in
--- configure.in 2002/07/11 22:15:07 1.61
+++ configure.in 2002/07/13 16:33:25
@@ -164,6 +164,7 @@
AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
XIPH_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!))
+AC_CHECK_LIB(ogg, oggpack_writealign,,AC_MSG_ERROR(You need at least Ogg 1.0))
dnl --------------------------------------------------
dnl Check for library functions
Index: libvorbis.spec
=====================...
2004 Sep 10
2
XMMS plugin build fix
--- Matt Zimmerman <mdz@debian.org> wrote:
> The only difference in the command lines seems to be that your
> xmms-config
> explicitly links with -lgthread, while I suppose mine lets the
> dynamic linker
> pull it in. The only significant difference between the old and new
> _LIBADD
> lines is that @XMMS_LIBS@ is at the beginning in the new one. Now
> that I think
2013 Apr 06
2
Don't hate yourself anymore, brendan
...OUT_CFLAGS="$PTHREAD_CFLAGS"
+SHOUT_CFLAGS="$VORBIS_CFLAGS $PTHREAD_CFLAGS"
SHOUT_LIBS="-lshout"
-XIPH_CLEAN_CCFLAGS([$SHOUT_CPPFLAGS], [SHOUT_CPPFLAGS])
XIPH_CLEAN_CCFLAGS([$SHOUT_CFLAGS], [SHOUT_CFLAGS])
XIPH_CLEAN_CCFLAGS([$VORBIS_LIBS $THEORA_LIBS $SPEEX_LIBS $PTHREAD_LIBS $LIBS], [SHOUT_LIBDEPS])
AC_SUBST(PTHREAD_CPPFLAGS)
AC_SUBST(SHOUT_LIBDEPS)
AC_SUBST(SHOUT_REQUIRES)
-AC_SUBST(SHOUT_CPPFLAGS)
AC_SUBST(SHOUT_CFLAGS)
dnl Make substitutions
Index: shout.pc.in
===================================================================
--- shout.pc.in (revision 18912...
2018 Dec 06
0
[PATCH nbdkit 3/5] protocol: Generate map functions from NBD protocol flags to printable strings.
...git a/src/Makefile.am b/src/Makefile.am
index 65f9498..1563d74 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,6 +49,7 @@ nbdkit_SOURCES = \
options.h \
plugins.c \
protocol.h \
+ protostrings.c \
sockets.c \
threadlocal.c \
utils.c \
@@ -77,11 +78,23 @@ nbdkit_LDFLAGS = \
$(PTHREAD_LIBS) \
$(DL_LDFLAGS)
+# protostrings.c is generated from the protocol.h header file where it
+# is used to map NBD protocol flags to strings.
+
+BUILT_SOURCES = protostrings.c
+EXTRA_DIST = protostrings.c
+CLEANFILES += protostrings.c
+protostrings.c: protocol.h protostrings.sed Makefile
+ rm -f $...
2023 Mar 09
1
[PATCH libnbd v4] lib/errors.c: Fix assert fail in exit path in multi-threaded code
...esac
+AC_MSG_RESULT([$VERSION_SCRIPT])
AC_SUBST([VERSION_SCRIPT])
dnl Produce output files.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 52b525819b..c886be7da0 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -78,6 +78,7 @@ libnbd_la_LIBADD = \
$(NULL)
libnbd_la_LDFLAGS = \
$(PTHREAD_LIBS) \
+ $(NODELETE) \
$(VERSION_SCRIPT) \
-version-info 0:0:0 \
$(NULL)
diff --git a/lib/errors.c b/lib/errors.c
index 8b77650ef3..6fbfaacd34 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -69,7 +69,11 @@ errors_key_destroy (void)
free (last_error->error);
free (last_error);
}...
2020 Mar 26
1
Re: [PATCH nbdkit 5/9 patch split 1/5] Create libnbdkit.so.
...GS = \
> + -I$(top_srcdir)/include \
> + -I$(top_srcdir)/common/include \
> + -I$(top_srcdir)/common/utils \
> + -DIN_NBDKIT_LIB=1 \
> + $(NULL)
> +libnbdkit_la_CFLAGS = \
> + $(PTHREAD_CFLAGS) \
> + $(WARNINGS_CFLAGS) \
> + $(NULL)
> +libnbdkit_la_LDFLAGS = \
> + $(PTHREAD_LIBS) \
> + $(NULL)
> +libnbdkit_la_LIBADD = \
> + $(top_builddir)/common/utils/libutils.la \
> + $(NULL)
> +
> +if USE_LINKER_SCRIPT_FOR_SERVER
> +# We have to disable the linker script for libFuzzer because Clang
> +# adds loads of fuzzer and ASAN-related symbols that are requ...
2019 May 21
0
[libnbd] tmp patch adding deadlock test
...+18,7 @@
include $(top_srcdir)/subdir-rules.mk
noinst_PROGRAMS = \
+ deadlock \
simple-fetch-first-sector \
simple-reads-and-writes \
threaded-reads-and-writes
@@ -50,3 +51,12 @@ threaded_reads_and_writes_CFLAGS = \
threaded_reads_and_writes_LDADD = \
$(top_builddir)/lib/libnbd.la \
$(PTHREAD_LIBS)
+
+deadlock_SOURCES = \
+ deadlock.c
+deadlock_CPPFLAGS = \
+ -I$(top_srcdir)/include
+deadlock_CFLAGS = \
+ $(WARNINGS_CFLAGS)
+deadlock_LDADD = \
+ $(top_builddir)/lib/libnbd.la
diff --git a/examples/deadlock.c b/examples/deadlock.c
new file mode 100644
index 0000000..1c9be8d
--- /dev/null
+++...
2019 May 22
0
[libnbd PATCH v3 7/7] examples: Add example to demonstrate just-fixed deadlock scenario
...include $(top_srcdir)/subdir-rules.mk
noinst_PROGRAMS = \
+ batched-read-write \
simple-fetch-first-sector \
simple-reads-and-writes \
threaded-reads-and-writes
@@ -50,3 +51,12 @@ threaded_reads_and_writes_CFLAGS = \
threaded_reads_and_writes_LDADD = \
$(top_builddir)/lib/libnbd.la \
$(PTHREAD_LIBS)
+
+batched_read_write_SOURCES = \
+ batched-read-write.c
+batched_read_write_CPPFLAGS = \
+ -I$(top_srcdir)/include
+batched_read_write_CFLAGS = \
+ $(WARNINGS_CFLAGS)
+batched_read_write_LDADD = \
+ $(top_builddir)/lib/libnbd.la
diff --git a/examples/batched-read-write.c b/examples/batched-read-...