compile problems on Solairs 5
Jose Luis Garcia
garciam at teleline.es
Thu Jul 24 19:03:07 CEST 2008
This seems to be a library problem.
The libraries where dirname and sprintf are suposed to be defined is not in
the lib path.
Perhaps you gcc libs are not in the lib path (I don't remember the env var,
¿LD_LIBRARY_PATH?)
Good luck
2008/7/24, stan <stanb at panix.com>:
>
> Yes, I know it's archaic, but I still have machines runing SunOS 5.5.1.
> I am trying to compile 3.0.2 on one of these machines, and it is failing
> like this:
>
> /usr/include/dlfcn.h:83: warning: `RTLD_NOW' redefined
> ../include/config.h:111: warning: this is the location of the previous
> definition
> /usr/include/dlfcn.h:86: warning: `RTLD_GLOBAL' redefined
> ../include/config.h:107: warning: this is the location of the previous
> definition
> Undefined first referenced
> symbol in file
> dirname xobjects-base.o
> snprintf utils.o
> ld: fatal: Symbol referencing errors. No output written to nagios
> *** Error code 1
> make: Fatal error: Command failed for target `nagios'
>
> I already copied snprintf.o from base to commn, but it is aparantly not
> found at link time, and these is alos the issue with dirname.
>
> Any ideas?
>
> --
> One of the main causes of the fall of the roman empire was that, lacking
> zero, they had no way to indicate successful termination of their C
> programs.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080724/3da94628/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list