On Mon, 1 May 2000, Daryle Dianis wrote:
> the -lc means include libc.a during the link or something like that,
> right?
Yes.
> I tried adding that directly to my Makefile for php and it didn't
> seem to help.
Worth a shot. But I suspected it would be known to ld allready.
> I guess I am having a few errors during make for php:
> at the beginning it says something like.........
> implicit declaration of function 'php3_midgard_template'
> implicit declaration of function 'php3_midgard_variable'
> then later on,,,,,
> gcc -g 02 02 -fpic -I. -I. -I/www/include -I/usr/local/include
> -I/usr/local/mysql/include \
> -g -Wall -c functions/midgard.c -o functions/midgard.o
> functions/midgard.c: In functions `php3_midgard_template':
> warning unused variable 'val'.
> and some others,,,,,
> In functions `mgd_tree'
> unused variable 'n'
> unused variable 'c'
> unused variable 'j'
> unused variable 'ups'
> and then it gets ugly
> So, how can I view my gcc environment? I looked at the man pages, went
> the the gnu site, just couldn't find that item, either.
$ make -np
will tell you a lot (a _lot_ a lot) about the compiler environment.
Either pipe it through more or go make coffee while it finishes. Please
don't post the entire (huge!) output :)
I've lost some context here. Which version of midgard are you installing,
and are you installing the same versions lib & mod as well? Tried a clean
start (make distclean; ./configure...) ?
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]