[MacPorts] #37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64)
#37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64) -----------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cogl -----------------------+-------------------------------- I am unable to build cogl 1.12.2 with the variants +quartz -x11. The relevant part of the log file (attached) is: {{{ CCLD libcogl.la /opt/local/bin/nm: no name list Undefined symbols for architecture x86_64: "_CFRelease", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CFURLCreateFromFileSystemRepresentation", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGBitmapContextCreate", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGColorSpaceCreateWithName", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGColorSpaceRelease", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGContextDrawImage", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGContextRelease", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGContextSetBlendMode", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageGetHeight", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageGetWidth", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageRelease", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageSourceCreateImageAtIndex", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageSourceCreateWithURL", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_CGImageSourceGetType", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o "_kCGColorSpaceGenericRGB", referenced from: __cogl_bitmap_from_file in cogl-bitmap-pixbuf.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [libcogl.la] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cogl/cogl/work/cogl-1.12.2/cogl' }}} -- Ticket URL: <https://trac.macports.org/ticket/37661> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64) ------------------------+---------------------- Reporter: aronnax@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cogl | ------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => devans@… * cc: devans@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/37661#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64) ------------------------+---------------------- Reporter: aronnax@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cogl | ------------------------+---------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/37661#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64) ------------------------+---------------------- Reporter: aronnax@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cogl | ------------------------+---------------------- Comment (by rhuelga@…): I installed cogl +quartz -x11 by adding "-framework ApplicationServices -framework QuartzCore" to libcogl_la_LDFLAGS in the cogl/Makefile.am file -- Ticket URL: <https://trac.macports.org/ticket/37661#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37661: cogl 1.12.2 +quartz -x11: build fails (Undefined symbols for architecture x86_64) ------------------------+---------------------- Reporter: aronnax@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: cogl | ------------------------+---------------------- Changes (by g5pw@…): * status: assigned => closed * resolution: => fixed Comment: Should be fixed in r106655. Thanks rhuelga, your suggestion worked (at least for me!). Feel free to reopen the ticket if it's not resolved for you. -- Ticket URL: <https://trac.macports.org/ticket/37661#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts