[distcc] getloadavg not completely portable...

Jay 'Whip' Grizzard elfchief at lupine.org
Thu Oct 30 22:04:05 GMT 2003


distcc 2.11.2 cannot build the gnome monitor under Solaris 2.6, because
the getloadavg(3) call doesn't yet exist in Solaris in that release, and
there's no option in the soruce for conditional compilation. 

[
So when linking, you get:

  src/mon-gnome.o(.text+0x4e4): In function `dcc_gnome_load_update_cb':
  : undefined reference to `getloadavg'
  collect2: ld returned 1 exit status
]

Prob'ly want to make that conditional.

Cheers.

-jay




More information about the distcc mailing list