pcp
[Top] [All Lists]

[pcp] first wave of diffs to compile on OpenBSD (#68)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] first wave of diffs to compile on OpenBSD (#68)
From: jirib <notifications@xxxxxxxxxx>
Date: Wed, 10 Feb 2016 09:11:04 -0800
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1455124265; bh=7IyYBcBIOcQUUEK/xX3Id98dk8t6Qs0AOq1UwurkSYw=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=WQ7GLvcFRetyio4thh+Jzye/bJ05PBm1bO5XVp9EnZi0a30gLR6vrOPzCtJwdtCli nAfroHX0foIz2hufvm5oPTom8ItFGUD3DXa+W24z4BA5B3WmMgEHrMf7D3IocjVxSg 0MtF8IHNWhSMXdrUEgqpIpVsL+GPq5plqpoYpgZA=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b6ac8169843178caa91391667e42fe46e74c59e11892cf0000000112d3312892a169ce07e9c7a4@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b6ac8169843178caa91391667e42fe46e74c59e11892cf0000000112d3312892a169ce07e9c7a4@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Its4XUxaf_WrOWMaYaJw43NerDAwGks5pi2aogaJpZM4HXeP1>
Reply-to: performancecopilot/pcp <reply+00bd08b6ac8169843178caa91391667e42fe46e74c59e11892cf0000000112d3312892a169ce07e9c7a4@xxxxxxxxxxxxxxxx>

It passed configure, gmake compiles but it still fails later on linking...

...
gcc -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -Wall -L./src/libpcp/src -L./src/libpcp_pmda/src  -L/usr/local/lib -L/usr/X11R6/lib -Wall -L../src/libpcp/src -L../src/libpcp_pmda/src  -L/usr/local/lib -L/usr/X11R6/lib -Wall -L../../src/libpcp/src -L../../src/libpcp_pmda/src  -L/usr/local/lib -L/usr/X11R6/lib -Wall -L../../../src/libpcp/src -L../../../src/libpcp_pmda/src  -Wl,--version-script=exports -o libpcp..3  connect.o context.o desc.o err.o fetch.o fetchgroup.o freeresult.o help.o instance.o p_desc.o p_error.o p_fetch.o p_instance.o p_profile.o p_result.o p_text.o p_pmns.o p_creds.o p_attr.o pdu.o pdubuf.o pmns.o profile.o store.o units.o util.o ipc.o sortinst.o logmeta.o logportmap.o logutil.o tz.o interp.o checksum.o rtime.o tv.o spec.o fetchlocal.o optfetch.o AF.o stuffvalue.o endian.o config.o auxconnect.o auxserver.o discovery.o p_lcontrol.o p_lrequest.o p_lstatus.o logconnect.o logcontrol.o connectlocal.o derive.o derive_fetch.o events.o loc
 k.o hash
 .o fault.o access.o getopt.o probe.o avahi.o accounts.o    getdate.tab.o -lavahi-common -lavahi-client -lm -lpthread      
instance.o: In function `inresult_to_lists':
/home/jirib/tmp/moje/pcp/src/libpcp/src/instance.c:200: warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libavahi-common.so.0.0: warning: warning: rand() may return deterministic values, is that what you want?
pmns.o: In function `attach':
/home/jirib/tmp/moje/pcp/src/libpcp/src/pmns.c:651: warning: warning: strcat() is almost always misused, please use strlcat()
logportmap.o: In function `__pmLogFindPort':
/home/jirib/tmp/moje/pcp/src/libpcp/src/logportmap.c:403: warning: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libdbus-1.so.11.1: warning: warning: vsprintf() is often misused, please use vsnprintf()
/usr/lib/crt0.o: In function `_start':
(.text+0x9d): undefined reference to `main'
collect2: ld returned 1 exit status
../../../src/include/buildrules:86: recipe for target 'libpcp..3' failed
gmake[3]: *** [libpcp..3] Error 1
GNUmakefile:24: recipe for target 'default' failed
gmake[2]: *** [default] Error 2
GNUmakefile:117: recipe for target 'default_pcp' failed
gmake[1]: *** [default_pcp] Error 2
gmake[1]: Leaving directory '/home/jirib/tmp/moje/pcp/src'
GNUmakefile:49: recipe for target 'default_pcp' failed
gmake: *** [default_pcp] Error 2

You can view, comment on, or merge this pull request online at:

  https://github.com/performancecopilot/pcp/pull/68

Commit Summary

  • first wave of diffs to compile on OpenBSD

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.

<Prev in Thread] Current Thread [Next in Thread>