Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #526] Sun Studio / Solaris: idomod.o: unknown file type #256

Closed
icinga-migration opened this issue Jun 21, 2010 · 3 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/526

Created by alexs77 on 2010-06-21 19:57:02 +00:00

Assignee: mfriedrich
Status: Closed (closed on 2011-01-10 17:06:14 +00:00)
Target Version: (none)
Last Update: 2011-01-10 17:06:14 +00:00 (in Redmine)


[…]
/opt/local/ccache/bin/ccache /opt/sunstudio12.1/bin/cc  -xO5 -xdepend=yes -xmemalign=8s -fsimple=2 -fns=yes -ftrap=%none -xlibmil -xlibmopt -xbuiltin=%all -D__MATHERR_ERRNO_DONTCARE -fsingle -xalias_level=basic -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xipo=1 -I/opt/csw/include -I/opt/local/libdbi/include -DHAVE_CONFIG_H -o idomod.o idomod.c io.o utils.o -G -L/opt/csw/lib -L/opt/local/libdbi/lib/ -lrt -lnsl -lsocket -lsocket -lnsl 
"idomod.c", line 713: warning: implicit function declaration: asprintf
ld: fatal: file idomod.o: unknown file type
ld: fatal: File processing errors. No output written to idomod.o
*** Error code 1
make: Fatal error: Command failed for target `idomod.o'
Current working directory /export/home/user/Source/icinga-core/module/idoutils/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/user/Source/icinga-core/module/idoutils
*** Error code 1
The following command caused the error:
if [ xyes = xyes ]; then \
        cd ./module/idoutils && make; \
fi
make: Fatal error: Command failed for target `all'

Using icinga-core from git with Sun Studio 12.1 on Solaris 10.

Now, that's finally a new bug, something which wasn't present in Nagios 3.2.0 (well, at least as far as I know…) G

Patch attached.

Attachments


Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-06-21 20:52:19 +00:00

this is new because idoutils are now directly included into the core install. before this would have been a ndoutils issue then.

please see my comment on #524 :)

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2010-09-17 14:56:16 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich

also the default target with /usr/bin should be made configurable.

adding with-module-dir to configure and assigning that to a make install target would do the trick.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2011-01-10 17:06:14 +00:00

  • Status changed from Assigned to Closed
  • Done % changed from 0 to 50

gethostbyname is resolved, for the rest refer to #524

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant