On Wed, 17 Jan 2001, Alexander Bokovoy wrote:
> > Now it stops on getopt.h. :(
> Replace #include <getopt.h> by #include <unistd.h> and see what is happen.

That worked. Now it compiles as far as the linking stage where I get the
following (kindly broken into lines by pine):

----------

gcc -g -O2 -I/chroot/apache/usr/lib/glib/include
-I/chroot/apache/usr/include -L/chroot/mysql/lib/mysql
-L/chroot/apache/usr/lib -o .libs/repligard common.o read.o import.o
rpconfig.o schema.o export.o main.o ../src/.libs/libmidgard.so -lexpat
-lmysqlclient -lm -lz -lcrypt -lglib -lexpat -lmysqlclient -lm -lz -lcrypt
-L/chroot/apache/usr/lib -lglib -Wl,--rpath -Wl,/chroot/apache/usr/lib
read.o: In function `repligard_import_xml':
/misc/src/webhotell/midgard-lib-1.4/repligard/read.c(.text+0x8d8): undefined
reference to `libiconv_open'
/misc/src/webhotell/midgard-lib-1.4/repligard/read.c(.text+0xa12): undefined
reference to `libiconv_close'
../src/.libs/libmidgard.so: undefined reference to `libiconv'

-----
libiconv.so is present in /chroot/apache/usr/lib. Is there some FreeBSd
issue with the linker I'm not seeing here? (i'm not really used to
FreeBSD, since I mostly use Linux.)

-- 
Frank Ronny Larsen - [EMAIL PROTECTED]
Nordnorsk Helsenett

Sanity is the trademark of a weak mind.  -- Mark Harrold



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to