An undefined error can have many sources and means an object is not defined. Maybe missing a jQuery reference, jQuery is referenced after the 3rd party slide show library, an issue with the way you're initializing the 3rd party library, or maybe a versioning issue.
The support documentation for the slide show library is the best place to start.
If you want community support than we need enough code to reproduce this issue along with the 3rd party library you are using. Otherwise, we can only guess what what's wrong.