Bug #526

Sun Studio / Solaris: idomod.o: unknown file type

Added by alexs77 almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:06/21/2010
Priority:NormalDue date:
Assignee:dnsmichi% Done:

50%

Category:Installation
Target version:-
Icinga Version: OS Version:

Description

[…]
/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.

icinga-core.gethostbyname_helloworld_idomod.patch Magnifier (3.58 KB) alexs77, 06/21/2010 09:57 pm


Related issues

Related to Core - Bug #524: Sun Studio / Solaris: helloworld.o: unknown file type Resolved 06/21/2010

History

#1 Updated by dnsmichi almost 4 years ago

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 :)

#2 Updated by dnsmichi over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to dnsmichi

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.

#3 Updated by dnsmichi over 3 years ago

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

gethostbyname is resolved, for the rest refer to #524

Also available in: Atom PDF