search for: pthread_libs

Displaying 20 results from an estimated 43 matches for "pthread_libs".

2000 Jul 07
0
vorbize and os_type patches + general build issues
Howdy.. I've got a couple little patches here. 1. vorbis-tools needs getopt. Since it's already sitting in the source tree for cmdline I set up cmdline to make a getopt.a that gets used for both. Also, since mp3tovorbis is a shell script, it needs to be installed 755 not 711 (unless I'm missing something). 2. I've found that both tru64 and irix 5.3 won't give int64_t
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) \ + $(N...
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
ltconfig placeholder shoud be removed. Makefile.am : some stuff copied from branch_beta3 ogg lib must be added only where necesary. vq subdir Makefile.am'ized, (but installs nothing) made distclean target slightly more clean -- check it by hand first, please --- also you'll want to remove vq/Makefile if the ...am passes inspection ------------------------------------------------- diff
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
I'm not sure how this would affect other OS's (I have no real idea how autoconf, automake etc work) but this is a go at fixing the BeOS undefined link problem. Hope the diffs are okay P.S. is there a simple test program for the FP bug in the math inline header I'd like to see if BeOS suffers from the problem or not. Dave --- configure.in Sun Nov 19 14:42:16 2000 +++
2001 Jun 27
1
Patch to get libvorbis 1.0b4 to build on Solaris 2.7
Apps building against libvorbis 1.0b4 will fail to link on Solaris 2.7 because libvorbis uses atanf, sqrtf, etc., which aren't available on that platform. In lib/os.h, there are a couple of workarounds (ifdef DARWIN, ifndef GNUC), but I'm building on Solaris with gcc, so this doesn't help me any. :) Attached is a patch to configure.in which checks for sqrtf in libm, and if it finds
2008 May 03
2
Cross compiling Linux -> windows has broken
Hi all, SOme of the recent changes to the build system has broken Linux to windows cross compile. I'm currently trying to fix that and found 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
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
I had to change the following to get the 'make distcheck' to work and to be able to build the rpms with 'rpm-build -tb *.tar.gz' I also added a test in libvorbis configure.in to detect older ogg versions (check for oggpack_writealign) and print a meaningful error. I also updated the .spec-file with dependencies on libogg-1.0 Thanks for great work everyone! /noa -- begin:vcard
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 requi...
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 +++ b...
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-w...