* Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking mDNSResponder-107.6.tar.gz to /var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work * Applying mDNSResponder-107.6-Makefiles.diff ...  [ ok ] * Applying mDNSResponder-107.6-java.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-107.6 ... # -*- tab-width: 4 -*- # # Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # $Log: Makefile,v $ # Revision 1.8 2006/08/14 23:23:55 cheshire # Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0 # # Revision 1.7 2006/01/06 01:06:17 cheshire # Compile library and client programs in one pass # # Revision 1.6 2004/09/24 21:15:26 cheshire # Library "libmdns" misnamed; should be "libdns_sd" # # Revision 1.5 2004/09/02 17:32:45 cheshire # Look for headers in ../mDNSShared before we go to /usr/include # # Revision 1.4 2004/05/21 17:25:56 cheshire # Fixes to make sample client work on Linux # # Revision 1.3 2004/03/12 08:05:32 cheshire # Add a "make clean" target # # Revision 1.2 2004/02/11 20:59:26 cheshire # Fix Makefile so it creates the "build" directory if necessary # # Revision 1.1 2004/02/06 03:19:09 cheshire # Check in code to make command-line "dns-sd" testing tool # # # Notes: # $@ means "The file name of the target of the rule" # $< means "The name of the first prerequisite" # $+ means "The names of all the prerequisites, with spaces between them, exactly as given" # For more magic automatic variables, see # ############################################################################# # On OS X the dns_sd library functions are included in libSystem, which is implicitly linked with every executable # If /usr/lib/libSystem.dylib exists, then we're on OS X, so we don't need also to link the "dns_sd" shared library ifneq "$(wildcard /usr/lib/libSystem.dylib)" "" LIBS = else LIBS = -L../mDNSPosix/build/debug/ -ldns_sd endif targets: build/dns-sd clean: rm -rf build build: mkdir build build/dns-sd: build dns-sd.c cc $(filter %.c %.o, $+) $(LIBS) -I../mDNSShared -o $@ * Running emake os=linux CC=i686-pc-linux-gnu-gcc LD=i686-pc-linux-gnu-gcc -shared JDK=/opt/sun-jdk-1.6.0.03 DEBUG=1 OPT_CFLAGS=-O1 march= LIBFLAGS= LOCALBASE=/usr JAVACFLAGS=-source 1.4 -target 1.4 i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 -O1 march= -c -o objects/debug/PosixDaemon.c.o PosixDaemon.c i686-pc-linux-gnu-gcc: march=: No such file or directory make: *** [objects/debug/PosixDaemon.c.o] Error 1 * * ERROR: net-misc/mDNSResponder-107.6-r5 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * mDNSResponder-107.6-r5.ebuild, line 51: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/temp/build.log'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.6.0.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info