1.3.5-beta compile issue on Solaris 10

audacity-src-1.3.5-beta
wxGTK-2.8.8
libsndfile-1.0.17
Solaris 10
gcc and gmake

I am attempting to compile on Solaris 10 hoping to get this eventually running on OpenSolaris.
Currently trying to track down a compilation error in lib-src/FileDialog/gtk/FileDialogPrivate.cpp.

I was able to make install wxGTK-2.8.8.
Audacity was complaining about needing libsndfile so I had to make install libsndfile-1.0.17.

I was able to make configure with:

./configure --enable-nyquist=no --includedir=/usr/local/include/wx-2.8/wx

Now I am getting compilation errors in /FileDialogPrivate.cpp.

Configure output followed by gmake output below.

./configure --enable-nyquist=no --includedir=/usr/local/include/wx-2.8/wx

checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C++ preprocessor… g++ -E
checking for a BSD-compatible install… ./install-sh -c
checking for pkg-config… yes
checking CFLAGS for strict prototypes… no, suppressed, signal.h,
checking wall_flags for maximum warnings… -Wall
checking for a sed that does not truncate output… /usr/bin/sed
checking whether the C++ compiler accepts the -Wall flag… yes
checking whether the C++ preprocessor accepts the -Wall flag… yes
configure: Determining what libraries are available in this tree and on the system
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for SNDFILE… yes
configure: Libsndfile libraries are available as system libraries
checking for ./lib-src/libsndfile/src/sndfile.h.in… no
configure: libsndfile libraries are NOT available in this source tree
checking for grep that handles long lines and -e… /usr/sfw/bin//ggrep
checking for egrep… /usr/sfw/bin//ggrep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for XML_ParserCreate in -lexpat… yes
checking expat.h usability… yes
checking expat.h presence… yes
checking for expat.h… yes
configure: Expat libraries are available as system libraries
checking for ./lib-src/expat/xmlparse/xmlparse.h… yes
configure: Expat libraries are available in the local tree
checking for SAMPLERATE… Package samplerate was not found in the pkg-config search path.
Perhaps you should add the directory containing samplerate.pc' to the PKG_CONFIG_PATH environment variable No package 'samplerate' found no configure: Libsamplerate libraries are NOT available as system libraries checking for ./lib-src/libsamplerate/src/samplerate.h... no configure: libsamplerate libraries are NOT available in the local tree checking for ./lib-src/libresample/include/libresample.h... yes configure: libresample libraries are available in the local tree checking for vorbis_bitrate_addblock in -lvorbisfile... yes checking vorbis/vorbisfile.h usability... yes checking vorbis/vorbisfile.h presence... yes checking for vorbis/vorbisfile.h... yes configure: Vorbis libraries are available as system libraries checking for ./lib-src/libvorbis/include/vorbis/vorbisenc.h... no checking for ./lib-src/libogg/include/ogg/ogg.h... no configure: Vorbis libraries are NOT available in this source tree checking for LIBMAD... Package mad was not found in the pkg-config search path. Perhaps you should add the directory containing mad.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘mad’ found
no
checking for mad_decoder_init in -lmad… no
configure: libmad libraries are NOT available as system libraries
checking for ./lib-src/libmad/frame.h… no
configure: libmad libraries are NOT available in the local tree
checking for FLAC__stream_decoder_new in -lFLAC… no
checking FLAC/format.h usability… no
checking FLAC/format.h presence… no
checking for FLAC/format.h… no
configure: FLAC/FLAC++ libraries are NOT available as system libraries
checking for ./lib-src/libflac/include/FLAC/format.h… no
checking for ./lib-src/libflac/include/FLAC++/decoder.h… no
configure: FLAC libraries are NOT available in this source tree
checking for id3_file_open in -lid3tag… no
checking id3tag.h usability… no
checking id3tag.h presence… no
checking for id3tag.h… no
configure: Libid3tag libraries are NOT available as system libraries
checking for ./lib-src/libid3tag/frame.h… no
configure: libid3tag libraries are NOT available in the local tree
checking for SOUNDTOUCH… Package soundtouch-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing soundtouch-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'soundtouch-1.0' found no configure: Libsoundtouch libraries are NOT available as system libraries checking for ./lib-src/soundtouch/include/SoundTouch.h... no configure: libsoundtouch libraries are NOT available in the local tree checking for ./lib-src/libnyquist/nyx/nyx.h... yes configure: nyquist libraries are available in the local tree checking for VAMP... Package vamp-hostsdk was not found in the pkg-config search path. Perhaps you should add the directory containing vamp-hostsdk.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘vamp-hostsdk’ found
no
configure: Vamp libraries are NOT available as system libraries
checking for ./lib-src/libvamp/vamp-sdk/hostext/PluginLoader.h… yes
configure: Vamp libraries are available in the local tree
checking for LIBTWOLAME… Package twolame was not found in the pkg-config search path.
Perhaps you should add the directory containing twolame.pc' to the PKG_CONFIG_PATH environment variable No package 'twolame' found no configure: Libtwolame library NOT available as system library checking for ./lib-src/twolame/libtwolame/twolame.h... no configure: libtwolame library is NOT available in the local tree configure: Figuring out what libraries to enable configure: Using SYSTEM libraries for LIBVORBIS configure: disabling LIBMAD configure: Using SYSTEM libraries for LIBSNDFILE configure: disabling LIBFLAC configure: disabling LIBID3TAG configure: disabling LIBSAMPLERATE configure: Using LOCAL libraries for LIBRESAMPLE configure: disabling LIBSOUNDTOUCH configure: disabling LIBNYQUIST at your request configure: Using LOCAL libraries for LIBVAMP configure: Using SYSTEM libraries for LIBEXPAT configure: disabling LIBTWOLAME checking for wx-config... /usr/local/bin/wx-config configure: Checking that the chosen version of wxWidgets is 2.6.x or 2.8.x Great, you're using wxWidgets 2.8.8! checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for snd_pcm_open in -lasound... no checking for JACK... Package jack was not found in the pkg-config search path. Perhaps you should add the directory containing jack.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘jack’ found
no
checking for HPI_SubSysCreate in -lhpi… no
checking for clock_gettime in -lrt… yes
checking for clock_gettime… yes
checking for nanosleep… yes
checking for lrint… yes
checking for lrintf… yes
checking for an ANSI C-conforming const… yes
checking for size_t… yes
checking alloca.h usability… yes
checking alloca.h presence… yes
checking for alloca.h… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating lib-src/Makefile
config.status: creating lib-src/allegro/Makefile
config.status: creating lib-src/expat/Makefile
config.status: creating lib-src/libnyquist/Makefile
config.status: creating lib-src/libvamp/Makefile
config.status: creating lib-src/portaudio/pa_unix_oss/Makefile
config.status: creating locale/Makefile
config.status: WARNING: locale/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tests/Makefile
config.status: creating src/configunix.h
config.status: src/configunix.h is unchanged
=== configuring in lib-src/FileDialog (/audacity/audacity-src-1.3.5-beta/lib-src/FileDialog)
configure: running /bin/bash ./configure ‘–prefix=/usr/local’ ‘–enable-nyquist=no’ ‘–includedir=/usr/local/include/wx-2.8/wx’ ‘–with-wx-config=/usr/local/bin/wx-config’ ‘–with-pa-include=…/portaudio-v19/include’ --cache-file=/dev/null --srcdir=.
checking for g++… g++
checking for C++ compiler default output file name… a.out
checking whether the C++ compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking for ranlib… ranlib
checking for ar… /usr/ccs/bin//ar
checking for gcc… gcc
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/sfw/bin//ggrep
checking for egrep… /usr/sfw/bin//ggrep -E
checking for ANSI C header files… yes
checking for wx-config… /usr/local/bin/wx-config
checking build system type… sparc-sun-solaris2.10
checking host system type… sparc-sun-solaris2.10
checking for pkg-config… /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0… yes (version 2.4.9)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in lib-src/portaudio-v19 (/audacity/audacity-src-1.3.5-beta/lib-src/portaudio-v19)
configure: running /bin/bash ./configure ‘–prefix=/usr/local’ ‘–enable-nyquist=no’ ‘–includedir=/usr/local/include/wx-2.8/wx’ ‘–with-wx-config=/usr/local/bin/wx-config’ ‘–with-pa-include=…/portaudio-v19/include’ --cache-file=/dev/null --srcdir=.
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking build system type… sparc-sun-solaris2.10
checking host system type… sparc-sun-solaris2.10
checking for a sed that does not truncate output… /usr/bin/sed
checking for grep that handles long lines and -e… /usr/sfw/bin//ggrep
checking for egrep… /usr/sfw/bin//ggrep -E
checking for ld used by gcc… /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld… no
checking for /usr/ccs/bin/ld option to reload object files… -r
checking for BSD-compatible nm… /usr/ccs/bin//nm -p
checking whether ln -s works… yes
checking how to recognize dependent libraries… pass_all
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C++ preprocessor… g++ -E
checking for g77… no
checking for xlf… no
checking for f77… no
checking for frt… no
checking for pgf77… no
checking for cf77… no
checking for fort77… no
checking for fl32… no
checking for af77… no
checking for xlf90… no
checking for f90… no
checking for pgf90… no
checking for pghpf… no
checking for epcf90… no
checking for gfortran… no
checking for g95… no
checking for xlf95… no
checking for f95… no
checking for fort… no
checking for ifort… no
checking for ifc… no
checking for efc… no
checking for pgf95… no
checking for lf95… no
checking for ftn… no
checking whether we are using the GNU Fortran 77 compiler… no
checking whether accepts -g… no
checking the maximum length of command line arguments… 786240
checking command to parse /usr/ccs/bin//nm -p output from gcc object… ok
checking for objdir… .libs
checking for ar… ar
checking for ranlib… ranlib
checking for strip… strip
checking for correct ltmain.sh version… yes
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC
checking if gcc PIC flag -fPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries… yes
checking whether -lc should be explicitly linked in… yes
checking dynamic linker characteristics… solaris2.10 ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… no
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
configure: creating libtool
appending configuration tag “CXX” to libtool
checking for ld used by g++… /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld… no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries… yes
checking for g++ option to produce PIC… -fPIC
checking if g++ PIC flag -fPIC works… yes
checking if g++ static flag -static works… no
checking if g++ supports -c -o file.o… yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries… yes
checking dynamic linker characteristics… solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into programs… immediate
appending configuration tag “F77” to libtool
checking for a BSD-compatible install… ./install-sh -c
checking whether ln -s works… yes
checking for ar… /usr/ccs/bin//ar
checking whether byte ordering is bigendian… yes
checking for snd_pcm_open in -lasound… no
checking for HPI_SubSysCreate in -lhpi… no
checking for _oss_ioctl in -lossaudio… no
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for JACK… Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘jack’ found
no
checking sys/soundcard.h usability… no
checking sys/soundcard.h presence… no
checking for sys/soundcard.h… no
checking linux/soundcard.h usability… no
checking linux/soundcard.h presence… no
checking for linux/soundcard.h… no
checking machine/soundcard.h usability… no
checking machine/soundcard.h presence… no
checking for machine/soundcard.h… no
checking for short… yes
checking size of short… 2
checking for int… yes
checking size of int… 4
checking for long… yes
checking size of long… 4
checking for clock_gettime in -lrt… yes
checking for clock_gettime… yes
checking for nanosleep… yes
checking for pthread_create in -lpthread… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating portaudio-2.0.pc
=== configuring in lib-src/portmixer (/audacity/audacity-src-1.3.5-beta/lib-src/portmixer)
configure: running /bin/bash ./configure ‘–prefix=/usr/local’ ‘–enable-nyquist=no’ ‘–includedir=/usr/local/include/wx-2.8/wx’ ‘–with-wx-config=/usr/local/bin/wx-config’ ‘–with-pa-include=…/portaudio-v19/include’ --cache-file=/dev/null --srcdir=.
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for ranlib… ranlib
checking for ar… /usr/ccs/bin//ar
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/sfw/bin//ggrep
checking for egrep… /usr/sfw/bin//ggrep -E
checking for ANSI C header files… yes
checking whether to compile debug version… no
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking linux/soundcard.h usability… no
checking linux/soundcard.h presence… no
checking for linux/soundcard.h… no
checking alsa/asoundlib.h usability… no
checking alsa/asoundlib.h presence… no
checking for alsa/asoundlib.h… no
checking CoreAudio/CoreAudio.h usability… no
checking CoreAudio/CoreAudio.h presence… no
checking for CoreAudio/CoreAudio.h… no
configure: ---------------------------------------
configure: ---------------------------------------
configure: creating ./config.status
config.status: creating Makefile
sed: illegal option – i

Finished configure:
LIBVORBIS: using SYSTEM libraries
LIBMAD: disabled
LIBSNDFILE: using SYSTEM libraries
LIBFLAC: disabled
LIBID3TAG: disabled
LIBSAMPLERATE: disabled
LIBRESAMPLE: using LOCAL libraries
LIBSOUNDTOUCH: disabled
LIBNYQUIST: disabled
LIBVAMP: using LOCAL libraries
LIBEXPAT: using SYSTEM libraries
LIBTWOLAME: disabled
ladspa: enabled
audiounits: disabled
prefix=/usr/local
portaudio: v19

Run ‘configure --help’ for an explanation of these options,
otherwise run ‘make’ to build Audacity.

gmake

gmake -C lib-src
gmake[1]: Entering directory /audacity/audacity-src-1.3.5-beta/lib-src' gmake -C libresample libresample.a gmake[2]: Entering directory /audacity/audacity-src-1.3.5-beta/lib-src/libresample’
gmake[2]: libresample.a' is up to date. gmake[2]: Leaving directory /audacity/audacity-src-1.3.5-beta/lib-src/libresample’
ln -sf libresample/libresample.a libresample.a
gmake -C libvamp
gmake[2]: Entering directory /audacity/audacity-src-1.3.5-beta/lib-src/libvamp' gmake[2]: Nothing to be done for default’.
gmake[2]: Leaving directory /audacity/audacity-src-1.3.5-beta/lib-src/libvamp' ln -sf libvamp/vamp-sdk/libvamp-hostsdk.a libvamp-hostsdk.a gmake -C allegro gmake[2]: Entering directory /audacity/audacity-src-1.3.5-beta/lib-src/allegro’
g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog allegro.cpp -o allegro.cpp.o
g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog allegrord.cpp -o allegrord.cpp.o
allegrord.cpp: In member function double Allegro_reader::parse_real(char*)': allegrord.cpp:351: warning: unused variable 'decimal' allegrord.cpp: In member function double Allegro_reader::parse_loud(char*)‘:
allegrord.cpp:450: warning: unused variable ‘loud’
g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog allegrowr.cpp -o allegrowr.cpp.o
g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog mfallegro.cpp -o mfallegro.cpp.o
mfallegro.cpp: In member function virtual void Allegro_midifile_reader::Mf_endtrack()': mfallegro.cpp:124: warning: int format, long int arg (arg 2) g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog mfmidi.cpp -o mfmidi.cpp.o g++ -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/lib-src/portmixer/include -I/lib-src/portaudio-v19/include -Wall -I/usr/local/include -I/lib-src/libresample/include -I/lib-src/libvamp -I/lib-src/allegro -I/lib-src/FileDialog strparse.cpp -o strparse.cpp.o gcc -c -Wall -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -Wall stimelinux.c -o stimelinux.c.o ar ruv allegro.a allegro.cpp.o allegrord.cpp.o allegrowr.cpp.o mfallegro.cpp.o mfmidi.cpp.o strparse.cpp.o stimelinux.c.o r - allegro.cpp.o r - allegrord.cpp.o r - allegrowr.cpp.o r - mfallegro.cpp.o r - mfmidi.cpp.o r - strparse.cpp.o r - stimelinux.c.o ar: writing allegro.a ranlib allegro.a gmake[2]: Leaving directory /audacity/audacity-src-1.3.5-beta/lib-src/allegro’
ln -sf allegro/allegro.a allegro.a
gmake -C FileDialog
gmake[2]: Entering directory /audacity/audacity-src-1.3.5-beta/lib-src/FileDialog' g++ -c -g -O2 -I. -I/usr/local/lib/wx/include/gtk-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include gtk/FileDialogPrivate.cpp -o gtk/FileDialogPrivate.o gtk/FileDialogPrivate.cpp: In member function virtual int FileDialog::ShowModal()‘:
gtk/FileDialogPrivate.cpp:311: error: wxGTK_CONV' undeclared (first use this function) gtk/FileDialogPrivate.cpp:311: error: (Each undeclared identifier is reported only once for each function it appears in.) gtk/FileDialogPrivate.cpp:311: error: gtk_button_new_with_mnemonic’ undeclared (first use this function)
gtk/FileDialogPrivate.cpp:312: error: GTK_FILE_CHOOSER' undeclared (first use this function) gtk/FileDialogPrivate.cpp:312: error: gtk_file_chooser_set_extra_widget’ undeclared (first use this function)
gtk/FileDialogPrivate.cpp:313: error: G_OBJECT' undeclared (first use this function) gtk/FileDialogPrivate.cpp:314: error: gtk_filedialog_extra_callback’ undeclared (first use this function)
gtk/FileDialogPrivate.cpp:314: error: GTK_SIGNAL_FUNC' undeclared (first use this function) gtk/FileDialogPrivate.cpp:314: error: g_signal_connect’ undeclared (first use this function)
gmake[2]: *** [gtk/FileDialogPrivate.o] Error 1
gmake[2]: Leaving directory /audacity/audacity-src-1.3.5-beta/lib-src/FileDialog' gmake[1]: *** [FileDialog-recursive] Error 2 gmake[1]: Leaving directory /audacity/audacity-src-1.3.5-beta/lib-src’
gmake: *** [audacity] Error 2

cat /etc/motd

Sun Microsystems Inc. SunOS 5.10 Generic January 2005

Solaris isn’t supported, as no-one on the development team has a Solaris machine and the time to keep it building. However it has been made to work in the past. A number of fixes went into CVS quite recently, and a number further patches can be found on the audacity patch tracker:
http://sourceforge.net/tracker/?group_id=6235&atid=306235

There might also be something relevant in the audacity-devel mailing list archive from May this year.