On Feb. 16, 2004 Thomas Schuerger <[EMAIL PROTECTED]> wrote:

I like using make with the -j switch on my multiprocessor FreeBSD box. However,
with GtkG this doesn't work properly. Compilation runs in parallel until it
comes to linking. Somehow the third line of the "gtk-gnutella" target is not
executed if the -j switch is used.


GtkG was compiled (without -j), then the executable was removed for
demonstration purposes.

Output when -j2 is used:

~/cvs/gtk-gnutella-hsep/src% make -j2 all
/bin/rm -f gtk-gnutella
if test -f gtk-gnutella; then /bin/mv gtk-gnutella gtk-gnutella~; else exit 0; fi


make stops here with no error or special return code, the executable is not
generated. It is the same even if "make -j1 all" is used.

Output when -j is not used:

<snipped>

Linking is done and the executable is there.


Any ideas why this is so? It may be a FreeBSD-specific make problem, but this
happens AFAIK only with GtkG.


I'm not sure what it means in a makefile to define the same target twice (e.g.
"gtk-gnutella" is defined twice) and what two (instead of one) colons mean
after a target name. Perhaps someone can lighten me up. :)



Greetings, Thomas.


Hi Thomas,


Afraid I can't help much, except to confirm this. (And, to note that gmake -j works;
so this problem is most likely something with make.)


I have no idea why it doesn't work. I may write a letter to freebsd-ports sometime
later this week, if I don't see one from you sooner :). (School limits time right
now...)


Peace,
Clayton

_________________________________________________________________
Create your own personal Web page with the info you use most, at My MSN. http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to