GNOME Bugzilla – Bug 403763
Swift driver doesn't build on Feisty
Last modified: 2007-02-02 23:38:16 UTC
When attempting to build the Swift driver on Feisty, we get these errors: /opt/swift/lib/libswift.so: undefined reference to `exp' /opt/swift/lib/libswift.so: undefined reference to `sin' /opt/swift/lib/libswift.so: undefined reference to `pow' /opt/swift/lib/libswift.so: undefined reference to `cos' collect2: ld returned 1 exit status make[3]: *** [swift-synthesis-driver] Error 1 Looks like the math library needs to be included on the link. Dunno why this is different on Feisty -- it works on Edgy.
Created attachment 81798 [details] [review] Patch to add -lm to swift_LIBS Tested by several users. Works well. Comimtted.