Hi,

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:

~/cvs/gtk-gnutella-hsep/src% make all
/bin/rm -f gtk-gnutella
if test -f gtk-gnutella; then /bin/mv gtk-gnutella gtk-gnutella~; else exit 0; fi
cc -o gtk-gnutella  interface-glade1.o support-glade1.o downloads_cb2.o  
downloads_gui2.o  fileinfo_gui2.o  gnet_stats_gui2.o  monitor_cb2.o  monitor_gui2.o  
nodes_cb2.o  nodes_gui2.o  search_cb2.o  search_gui2.o  search_stats_gui2.o  
uploads_gui2.o  upload_stats_gui2.o  downloads_cb.o  downloads_gui.o  fileinfo_gui.o  
gnet_stats_gui.o  monitor_cb.o  monitor_gui.o  nodes_cb.o  nodes_gui.o  search_cb.o  
search_gui.o  search_stats_gui.o  uploads_gui.o  upload_stats_gui.o  callbacks.o  
downloads_gui_common.o  filter.o  filter_cb.o  filter_gui.o  gnet_stats_gui_common.o  
gtkcolumnchooser.o  gtk-missing.o  gui.o  gui_property.o  main_cb.o  main_gui.o  
nodes_gui_common.o  search_gui_common.o  settings_cb.o  settings_gui.o  
statusbar_gui.o  uploads_cb.o  uploads_gui_common.o  upload_stats_cb.o  
pbarcellrenderer_gui2.o  adns.o  alive.o  atoms.o  ban.o  base32.o  base64.o  bg.o  
bsched.o  clock.o  cobs.o  common.o  cq.o  crc.o  dmesh.o  downloads.o  eval.o  
event.o  extensions.o  file.o  fileinfo.o  fuzzy.o  getline.o  ggep.o  ggep_type.o  
glib-missing.o  gmsg.o  gnet_property.o  gnet_stats.o  guid.o  gwcache.o  hashlist.o  
hashtree.o  hcache.o  header.o  hostiles.o  hosts.o  hsep.o  http.o  huge.o  icon.o  
idtable.o  ignore.o  inet.o  inputevt.o  ioheader.o  main.o  malloc.o  matching.o  
misc.o  move.o  mq.o  namesize.o  nodes.o  parq.o  pcache.o  pmsg.o  pproxy.o  prop.o  
qrp.o  routing.o  rx.o  rx_inflate.o  rx_link.o  rxbuf.o  search.o  search_xml.o  
settings.o  sha1.o  share.o  shell.o  sockets.o  sq.o  tiger.o  tigertree.o  tm.o  
token.o  tx.o  tx_deflate.o  tx_link.o  upload_stats.o  uploads.o  url.o  utf8.o  
vendors.o  verify.o  version.o  vmsg.o  walloc.o  whitelist.o  zalloc.o  zlib_util.o 
getdate.o -L/usr/local/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -lintl -lXi -lXext -lX11 
-lm -lglib12 -L/usr/local/lib -lxml2 -lz -liconv -lm -O -L/usr/local/lib -lz -lintl 
-liconv

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.


-------------------------------------------------------
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_id56&alloc_id438&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to