logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Compile problems on Solaris 8: msg#00016

security.ids.snort.barnyard.user

Subject: Re: Compile problems on Solaris 8

I started by adding the -lresolv flag to the Makefile in output-plugins to no
avail. Then I added it to the input-plugins Makefile. Finally I added it to
the main director Makefile. Made certain to NOT reconfigure at each step (for
others in the list this would wipe out the changes), but I DID make sure to do
a "make clean" at each point. Still no joy.

To be certain...which libraries line are we talking about here?

>>> "Andrew R. Baker" <andrewb@xxxxxxxxx> 03/21/05 12:24PM >>>
John Creegan wrote:
>
> The make fails:
> -g -O2 -Wall -lnsl -L/opt/csw/mysql4/lib/mysql -o barnyard barnyard.o
> mstring.o strlcatu.o strlcpyu.o util.o spool.o sid.o debug.o
> classification.o CommandLineArgs.o ConfigFile.o ProgVars.o
> output-plugins/libop.a input-plugins/libdp.a -lsocket -lz -lssl -lmysqlclient
> Undefined first referenced
> symbol in file
> hstrerror
> output-plugins/libop.a(op_alert_syslog2...o)
> inet_aton
> output-plugins/libop.a(op_alert_syslog2...o)

There is a problem finding the symbols "hsterror" and "inet_aton" for
linking purposes. It should be picking these symbols up from libnsl,
but that appears to be failing. The alternate location is libresolv,
IIRC. Try adding a -lresolv to the libraries line. Unfortunately I do
not have a Solaris system available to test on so I can only guess which
libraries are needed.

-A



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Barnyard-users mailing list
Barnyard-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/barnyard-users



This message (including any attachments) contains confidential
information intended for a specific individual and purpose,
and is protected by law. If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure,copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation