Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created August 4, 2010 20:20
Show Gist options
  • Select an option

  • Save jrabbit/508724 to your computer and use it in GitHub Desktop.

Select an option

Save jrabbit/508724 to your computer and use it in GitHub Desktop.
$ perl Build bundle
[Alien::SDL] Build option used:
Already installed SDL ver=1.2.14 path=/sw
Building SDL
gcc -o "SDLPerl.app/Contents/MacOS/SDLPerl" MacOSX/main.c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I -I -I/usr/X11R6/include -I/usr/local/include -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain
ld: warning: in /sw/lib/libSDLmain.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libSDL.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
(maybe you meant: _SDL_main)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
ld: warning: in /sw/lib/libSDLmain.a, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /sw/lib/libSDL.dylib, file was built for i386 which is not the architecture being linked (ppc)
Undefined symbols for architecture ppc:
"_main", referenced from:
start in crt1.10.5.o
(maybe you meant: _SDL_main)
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/yq/yqDYcVjPE9qiPIaZo3MqVE+++TI/-Tmp-//ccSyeaFU.out (No such file or directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment