(see previous mail) it seems related to the new (?) flag -DX_OPEN_SOURCE ; when removing it, the error is only missing "fdopen, kill and putenv" functions ... btw my problem in compiling occurs in every file that includes before the moc file. Nicolas