Joerg Behrens wrote:
>
> ----- Original Message -----
> From: "Alexander Barkov" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Joerg Behrens" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 04, 2001 2:22 PM
> Subject: Re: Compiling errors with the latest mnogo 3.1.1.x CVS
>
> [..]
> > > smp:/usr/local/mnogocvs # gcc a.c -lpthread // no errors
> > > smp:/usr/local/mnogocvs # file a.out
> > > a.out: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
> linked
> > > (uses shared libs), not stripped
> > >
> > > smp:/usr/local/mnogocvs # ./a.out
> > > Segmentation fault
> >
> >
> > OK. Everything is fine. It is compiled without problems,
> > ignore that it crashes, it is not supposed to work,
> > only compilation test.
> >
> > An idea. Somethimes it may happen that old configure
> > data is used after another configure running. Please
> > try the following:
> > gmake distclean
> > ./configure <arguments>
> > make
>
> Ok here we go again... i build it from hte scratch. After deleting the cvs
> directory and a new checkout.
>
> #
> ./configure --prefix=/usr/local/mnogocvs --with-mysql=/usr/local/mysql --ena
> ble-all-static --enable-linux-pthreads >> install.log 2>&1
> # make >> install.log 2>&1
>
> Same Error. I `ll put all output to http://194.15.95.21/mnogo/ . Sending 35k
> over the mailing list isnt a good idea.
>
configure.in and Makefile.am seem to be incorrect.
According to your output, this is search.cgi linking command line:
gcc -g -O2 -DUDM_CONF_DIR=\"/usr/local/mnogocvs/etc\"
-DUDM_VAR_DIR=\"/usr/local/mnogocvs/var\" -o search.cgi -lpthread
search.o search_tl.o .libs/libudmsearch.a -L/usr/local/mysql/lib/mysql
-lmysqlclient -lm -lz -static -L/usr/local/mysql/lib/mysql -lmysqlclient
-lm -lz
There is "-lpthread" among others, however not in expected place.
-lpthread should be in the end:
gcc -g -O2 -DUDM_CONF_DIR=\"/usr/local/mnogocvs/etc\"
-DUDM_VAR_DIR=\"/usr/local/mnogocvs/var\" -o search.cgi search.o
search_tl.o .libs/libudmsearch.a -L/usr/local/mysql/lib/mysql
-lmysqlclient -lm -lz -static -L/usr/local/mysql/lib/mysql -lmysqlclient
-lm -lz -lpthread
I'm trying to fix related files now.
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]