On 5/19/13 8:06 AM, Gaziz Nugmanov wrote: > Hi again, > > This time I am getting some linker error and it is complaining about Mac > OSX specific issues with crt1* object files. Is it safe to remove > the crt1.10.5.o and crt1.10.6.o and keep only the crt1.o? > > [skip] > warning: System 16: missing glyph for char f8c6 > warning: System 16: missing glyph for char f8c7 > warning: System 16: missing glyph for char f8c8 > /sw/bin/gcc-fsf-4.7 -m32 -c -I. -I. -I../include -I../include > -D__WINESRC__ -Wall -pipe -fno-strict-aliasing > -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers > -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter > -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op > -I/sw/include/freetype2 -I//sw/lib/system-openssl/include -g -O2 > -fno-builtin -o main.o main.c > LC_ALL=C sed -e 's,@PACKAGE_VERSION\@,1.5.24,g' wine_info.plist.in > <http://wine_info.plist.in> >wine_info.plist || (rm -f wine_info.plist > && false) > /sw/bin/gcc-fsf-4.7 -m32 -o wine /usr/lib/crt1.o -image_base 0x7bf00000 > -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist > main.o -L../libs/wine -lwine ../libs/port/libwine_port.a > -L/sw/lib/i386 -L//sw/lib/system-openssl/lib -Wl,-no_pie > -Wl,-rpath,@loader_path/../libs/wine > ===>>> duplicate symbol _NXArgc in: > ===>>> /usr/lib/crt1.10.6.o > ===>>> /usr/lib/crt1.o > duplicate symbol _NXArgv in: > /usr/lib/crt1.10.6.o > /usr/lib/crt1.o > duplicate symbol ___progname in: > /usr/lib/crt1.10.6.o > /usr/lib/crt1.o > duplicate symbol _environ in: > /usr/lib/crt1.10.6.o > /usr/lib/crt1.o > duplicate symbol start in: > /usr/lib/crt1.10.6.o > /usr/lib/crt1.o > ===>>>ld: 5 duplicate symbols for architecture i386 > collect2: error: ld returned 1 exit status > make[1]: *** [wine] Error 1 > make: *** [loader] Error 2 > ### execution of /tmp/fink.kKGhq failed, exit code 2 > ### execution of /tmp/fink.NscLH failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-wine-32bit-1.5.24-1 > (Reading database ... 35467 files and directories currently installed.) > Removing fink-buildlock-wine-32bit-1.5.24-1 ... > Failed: phase compiling: wine-32bit-1.5.24-1 failed > > [skip] > > Also include the following system information: > Package manager version: 0.34.8 > Distribution version: selfupdate-rsync Sun May 19 09:35:01 2013, 10.7, > x86_64 > Trees: local/main stable/main > Xcode.app: 4.6 > Xcode command-line tools: 4.6.0.0.1.1365549073 > Max. Fink build jobs: 1 > > > I had a look at that small object files and they indeed have same > entries in them. > > macbookpro:~ gnugmanov$ cd /usr/lib > macbookpro:lib gnugmanov$ l crt1.* > -rw-r--r-- 1 root wheel 9132 25 May 2011 crt1.10.5.o > -rw-r--r-- 1 root wheel 8864 25 May 2011 crt1.10.6.o > -rw-r--r-- 1 root wheel 10244 25 May 2011 crt1.o > macbookpro:lib gnugmanov$ file crt1.o > crt1.o: Mach-O universal binary with 2 architectures > crt1.o (for architecture x86_64):Mach-O 64-bit object x86_64 > crt1.o (for architecture i386):Mach-O object i386 > macbookpro:lib gnugmanov$ file crt1.10.6.o > crt1.10.6.o: Mach-O universal binary with 2 architectures > crt1.10.6.o (for architecture x86_64):Mach-O 64-bit object x86_64 > crt1.10.6.o (for architecture i386):Mach-O object i386 > macbookpro:lib gnugmanov$ nm crt1.o > 0000000000000188 s EH_Frame1 > 000000000000013e s LC1 > 000000000000013f s LC2 > 000000000000016c s LC3 > 00000000000001e8 S _NXArgc > 00000000000001f0 S _NXArgv > U ___dso_handle > U ___keymgr_dwarf2_register_sections > 0000000000000200 S ___progname > U __cthread_init_routine > 0000000000000138 T __dyld_func_lookup > 0000000000000022 T __start > U _atexit > 00000000000001f8 S _environ > U _errno > U _exit > U _mach_init_routine > U _main > 0000000000000124 T dyld_stub_binding_helper > 00000000000001a0 s func.eh > 0000000000000000 T start > macbookpro:lib gnugmanov$ nm crt1.10.6.o > 0000000000000068 S _NXArgc > 0000000000000070 S _NXArgv > U ___dso_handle > 0000000000000080 S ___progname > 0000000000000078 S _environ > U _exit > U _main > 0000000000000040 s _pvars > 0000000000000000 T start > macbookpro:lib gnugmanov$ nm crt1.10. > crt1.10.5.o crt1.10.6.o > macbookpro:lib gnugmanov$ nm crt1.10.5.o > 0000000000000090 S _NXArgc > 0000000000000098 S _NXArgv > U ___dso_handle > 00000000000000a8 S ___progname > 0000000000000050 T __dyld_func_lookup > 00000000000000a0 S _environ > U _exit > U _main > 000000000000003c T dyld_stub_binding_helper > 0000000000000000 T start > macbookpro:lib gnugmanov$ > > > Is it safe to remove the crt1.10.5.o and crt1.10.6.o? > > > >
You might try moving crt1.10.5.0 and crt1.10.6.o somewhere else temporarily to see what happens, though I was able to build wine-32bit on my system without having to do that. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners