-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kaplan, Andrew H. wrote:
[snip]
>       CFLAGS=-D_XOPEN+SOURCE_EXTENDED: Command not found.

My mistake, I'm using sh/bash syntax while you are using csh.

> When I reentered the above command using the syntax:
> 
>       ./configure CFLAGS="-D_XOPEN+SOURCE_EXTENDED"
> 
> the configure script ran without a problem.
> 
> The make command continues to give me an Error exit code 1 message. While the
> gcc line that precedes the message read as follows:
>       
>       gcc -D_XOPEN_SOURCE_EXTENDED -o clamscan output.o geptopt.o memory.o
> cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o
>               -L/usr/local/lib ../libclamav/.libs/libclamav.a.a -lz -lbz2
> /usr/local/lib/libgmp.sl -Wl,+b -Wl,/usr/local/lib
>       /usr/ccs/bin/ld: Unsatisfied symbols:
>           ntohl (code)
>       collect2: ld returned 1 exit status

OK, this is normal, we are missing some libraries in the link command.  Easy to
correct:

        ./configure CFLAGS="-D_XOPEN+SOURCE_EXTENDED" LDFLAGS="-lsocket -lnls"

Let's see what jumps next ;-)
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPrdyMACgkQL3NNweKTRgyErQCgg51kVWN8QJEDRYo7LltY8qTG
KlcAn14qve9Rk48VpmgPf6siJUjE6w5s
=7dWD
-----END PGP SIGNATURE-----

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to