Skip to content

Instantly share code, notes, and snippets.

@takekazuomi
Created April 3, 2012 12:25
Show Gist options
  • Save takekazuomi/2291560 to your computer and use it in GitHub Desktop.
Save takekazuomi/2291560 to your computer and use it in GitHub Desktop.
error in macports
/usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -W -Wall -pedantic -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common registry.c -o registry.o
In file included from ../cregistry/registry.h:35,
from registry.c:39:
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:252: warning: ISO C90 does not support ‘long long’
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:253: warning: ISO C90 does not support ‘long long’
/usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -W -Wall -pedantic -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common util.c -o util.o
In file included from util.h:36,
from util.c:37:
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:252: warning: ISO C90 does not support ‘long long’
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:253: warning: ISO C90 does not support ‘long long’
/usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -W -Wall -pedantic -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common entry.c -o entry.o
In file included from entry.c:36:
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:252: warning: ISO C90 does not support ‘long long’
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:253: warning: ISO C90 does not support ‘long long’
/usr/bin/cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -W -Wall -pedantic -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -fno-common entryobj.c -o entryobj.o
In file included from entryobj.c:36:
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:252: warning: ISO C90 does not support ‘long long’
/Library/Frameworks/Mono.framework/Versions/2.10.9/include/sqlite3.h:253: warning: ISO C90 does not support ‘long long’
/usr/bin/cc -dynamiclib -g -O2 -W -Wall -pedantic -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include -Wl,-single_module registry.o util.o entry.o entryobj.o ../cregistry/cregistry.a -o registry.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.5 -ltclstub8.5 -L/Library/Frameworks/Mono.framework/Versions/2.10.9/lib -lsqlite3
ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/libsqlite3.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
"_sqlite3_errmsg", referenced from:
_set_sqlite_result in util.o
_reg_sqlite_error in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_close in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_open in cregistry.a(registry.o)
"_sqlite3_mprintf", referenced from:
_set_object in util.o
_set_entry in util.o
_get_object in util.o
_reg_sqlite_error in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_open in cregistry.a(registry.o)
...
"_sqlite3_free", referenced from:
_set_object in util.o
_set_entry in util.o
_get_object in util.o
_reg_throw in cregistry.a(registry.o)
_reg_sqlite_error in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
...
"_sqlite3_prepare", referenced from:
_all_objects in util.o
_reg_vacuum in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_entry_create in cregistry.a(entry.o)
_reg_entry_depends in cregistry.a(entry.o)
_reg_all_entries in cregistry.a(entry.o)
...
"_sqlite3_column_int64", referenced from:
_all_objects in util.o
_reg_all_entries in cregistry.a(entry.o)
_reg_entry_owner in cregistry.a(entry.o)
_reg_entry_open in cregistry.a(entry.o)
_reg_entry_owner_id in cregistry.a(entry.o)
"_sqlite3_step", referenced from:
_all_objects in util.o
_reg_vacuum in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_entry_create in cregistry.a(entry.o)
_reg_entry_depends in cregistry.a(entry.o)
_reg_all_entries in cregistry.a(entry.o)
...
"_sqlite3_finalize", referenced from:
_all_objects in util.o
_reg_vacuum in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_entry_create in cregistry.a(entry.o)
_reg_entry_depends in cregistry.a(entry.o)
_reg_all_entries in cregistry.a(entry.o)
...
"_sqlite3_open", referenced from:
_reg_vacuum in cregistry.a(registry.o)
_reg_open in cregistry.a(registry.o)
"_sqlite3_close", referenced from:
_reg_vacuum in cregistry.a(registry.o)
_reg_close in cregistry.a(registry.o)
_reg_open in cregistry.a(registry.o)
"_sqlite3_reset", referenced from:
_reg_vacuum in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_entry_deactivate in cregistry.a(entry.o)
_reg_entry_activate in cregistry.a(entry.o)
_reg_entry_unmap in cregistry.a(entry.o)
_reg_entry_map in cregistry.a(entry.o)
...
"_sqlite3_vmprintf", referenced from:
_reg_throw in cregistry.a(registry.o)
"_sqlite3_errcode", referenced from:
_reg_sqlite_error in cregistry.a(registry.o)
_reg_detach in cregistry.a(registry.o)
_reg_attach in cregistry.a(registry.o)
_reg_open in cregistry.a(registry.o)
"_sqlite3_exec", referenced from:
_reg_rollback in cregistry.a(registry.o)
_reg_commit in cregistry.a(registry.o)
_reg_start_write in cregistry.a(registry.o)
_reg_start_read in cregistry.a(registry.o)
"_sqlite3_bind_text", referenced from:
_reg_entry_create in cregistry.a(entry.o)
_reg_entry_depends in cregistry.a(entry.o)
_reg_entry_owner in cregistry.a(entry.o)
_reg_entry_open in cregistry.a(entry.o)
_reg_entry_owner_id in cregistry.a(entry.o)
_reg_entry_deactivate in cregistry.a(entry.o)
_reg_entry_activate in cregistry.a(entry.o)
...
"_sqlite3_last_insert_rowid", referenced from:
_reg_entry_create in cregistry.a(entry.o)
"_sqlite3_bind_int64", referenced from:
_reg_entry_depends in cregistry.a(entry.o)
_reg_entry_delete in cregistry.a(entry.o)
_reg_entry_deactivate in cregistry.a(entry.o)
_reg_entry_activate in cregistry.a(entry.o)
_reg_entry_unmap in cregistry.a(entry.o)
_reg_entry_map in cregistry.a(entry.o)
_reg_entry_files in cregistry.a(entry.o)
...
"_sqlite3_changes", referenced from:
_reg_entry_delete in cregistry.a(entry.o)
_reg_entry_deactivate in cregistry.a(entry.o)
_reg_entry_activate in cregistry.a(entry.o)
_reg_entry_unmap in cregistry.a(entry.o)
"_sqlite3_column_text", referenced from:
_reg_entry_files in cregistry.a(entry.o)
_reg_entry_imagefiles in cregistry.a(entry.o)
_reg_entry_propget in cregistry.a(entry.o)
"_sqlite3_value_text", referenced from:
_sql_regexp in cregistry.a(sql.o)
"_sqlite3_result_int", referenced from:
_sql_regexp in cregistry.a(sql.o)
"_sqlite3_result_error", referenced from:
_sql_regexp in cregistry.a(sql.o)
"_sqlite3_create_function", referenced from:
_init_db in cregistry.a(sql.o)
"_sqlite3_create_collation", referenced from:
_init_db in cregistry.a(sql.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [registry.dylib] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install SELFUPDATING=1" returned error 2
DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment