Strange link issue with Sun Studio 12 and jpeg

Hi, I'm seeing some really odd behaviour compiling my code with SunStudio 12. My project is a configure based project, so I used the new project wizard to import it as a sunstudio project.

Now, when I compile it from within sunstudio, it fails with linkage errors to libjpeg. The link directive for libjpeg is there on the commandline though. Odder still, if I fire up a normal command line and enter the same gmake command, the compilation succeeds. For some reason, the link to the jpeg library is failing when run from within the IDE. Does anyone have any ideas how this could come about?

The output from the build output window of the IDE is:

(system is the latest Solaris Developer express, installed from scratch)

Running "/usr/sfw/bin/gmake -f mpp-Makefile.mk CONF=Default" in /export/home/ian/munich_src/projects/sunstudio/mpp

/usr/sfw/bin/gmake -f nbproject/Makefile-Default.mk SUBPROJECTS= .build-conf

gmake[1]: Entering directory `/export/home/ian/munich_src/projects/sunstudio/mpp'

cd ../../.. && gmake

gmake[2]: Entering directory `/export/home/ian/munich_src'

gmake all-recursive

gmake[3]: Entering directory `/export/home/ian/munich_src'

Making all in IntLibraries

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries'

Making all in ufx

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/ufx'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/ufx'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/ufx'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/ufx'

Making all in PSG

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/PSG'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/PSG'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/PSG'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/PSG'

Making all in bce2

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2'

Making all in source

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

Making all in .

gmake[7]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[7]: Nothing to be done for `all-am'.

gmake[7]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2'

Making all in fontlib

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/fontlib'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/fontlib'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/fontlib'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/fontlib'

Making all in DCL

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/DCL'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/DCL'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/DCL'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/DCL'

Making all in AES

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/AES'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/AES'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/AES'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/AES'

Making all in Blob

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/Blob'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries'

gmake[5]: Nothing to be done for `all-am'.

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries'

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries'

Making all in ADEPT

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT'

Making all in AFPRIP

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

Making all in PCLRIP

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

Making all in WMFRIP

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

Making all in PAXPAFRIP

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

Making all in IPDSRIP

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

Making all in riplib

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/riplib'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/riplib'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/riplib'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/riplib'

Making all in ocalib

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/ocalib'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/ocalib'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/ocalib'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/ocalib'

Making all in zodius

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/zodius'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/zodius'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/zodius'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/zodius'

Making all in av_secman

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/av_secman'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/av_secman'

gmake[6]: Nothing to be done for `all-am'.

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/av_secman'

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/av_secman'

Making all in wx_splview

gmake[5]: Entering directory `/export/home/ian/munich_src/ADEPT/wx_splview'

Making all in .

gmake[6]: Entering directory `/export/home/ian/munich_src/ADEPT/wx_splview'

/bin/bash ../../libtool --tag=CXX--mode=link CC -DNDEBUG -I../../IntLibraries/DCL -I../../IntLibraries/ufx -I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/local/lib/wx/include/gtk2-ansi-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -mt -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-g0 -fast -D_FILE_OFFSET_BITS=64 -DENABLE_UNIT_TESTS -I../../IntLibraries/ufx -I../../IntLibraries/bce2/source -D_PSG_BCE -I/usr/sfw/include/freetype2 -I/usr/sfw/include-o wxsplview wxsplview-splviewapp.o wxsplview-splviewframe.o wxsplview-splviewcanvas.o -L../AFPRIP -lafprip -L../PCLRIP -lpclrip -L../PAXPAFRIP -lpaxpafrip -L../WMFRIP -lwmfrip -L../riplib -lriplib -L../ocalib -loca -L../../IntLibraries/fontlib -lfont -L../zodius -lzodius -L../../IntLibraries/PSG -lpsg -L../../IntLibraries/DCL -ldcl -L../../IntLibraries/ufx -lufx -L/usr/local/lib -mt-L/usr/X11R6/lib -L/usr/openwin/lib /usr/local/lib/libwx_gtk2_aui-2.8.a /usr/local/lib/libwx_gtk2_xrc-2.8.a /usr/local/lib/libwx_gtk2_qa-2.8.a /usr/local/lib/libwx_gtk2_html-2.8.a /usr/local/lib/libwx_gtk2_adv-2.8.a /usr/local/lib/libwx_gtk2_core-2.8.a /usr/local/lib/libwx_base_xml-2.8.a /usr/local/lib/libwx_base_net-2.8.a /usr/local/lib/libwx_base-2.8.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lmlib -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lglib-2.0 -lX11 -lXinerama -lSM -lpng -ljpeg -ltiff -lwxexpat-2.8 -lz -lnsl -lsocket -lm -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0-ltiff

CC -DNDEBUG -I../../IntLibraries/DCL -I../../IntLibraries/ufx -I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/local/lib/wx/include/gtk2-ansi-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -mt -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g0 -fast -D_FILE_OFFSET_BITS=64 -DENABLE_UNIT_TESTS -I../../IntLibraries/ufx -I../../IntLibraries/bce2/source -D_PSG_BCE -I/usr/sfw/include/freetype2 -I/usr/sfw/include -o wxsplview wxsplview-splviewapp.o wxsplview-splviewframe.o wxsplview-splviewcanvas.o -mt -L/export/home/ian/munich_src/ADEPT/AFPRIP -lafprip -L/export/home/ian/munich_src/ADEPT/PCLRIP -lpclrip -L/export/home/ian/munich_src/ADEPT/PAXPAFRIP -lpaxpafrip -L/export/home/ian/munich_src/ADEPT/WMFRIP -lwmfrip -L/export/home/ian/munich_src/ADEPT/riplib -lriplib -L/export/home/ian/munich_src/ADEPT/ocalib -loca -L/export/home/ian/munich_src/IntLibraries/fontlib -lfont -L/export/home/ian/munich_src/ADEPT/zodius -lzodius -L/export/home/ian/munich_src/IntLibraries/PSG -lpsg -L/export/home/ian/munich_src/IntLibraries/DCL -ldcl -L/export/home/ian/munich_src/IntLibraries/ufx -lufx -L/usr/local/lib -L/usr/X11R6/lib -L/usr/openwin/lib /usr/local/lib/libwx_gtk2_aui-2.8.a /usr/local/lib/libwx_gtk2_xrc-2.8.a /usr/local/lib/libwx_gtk2_qa-2.8.a /usr/local/lib/libwx_gtk2_html-2.8.a /usr/local/lib/libwx_gtk2_adv-2.8.a /usr/local/lib/libwx_gtk2_core-2.8.a /usr/local/lib/libwx_base_xml-2.8.a /usr/local/lib/libwx_base_net-2.8.a /usr/local/lib/libwx_base-2.8.a -lgthread-2.0 -lpthread -lthread -lX11 -lXinerama -lSM -lpng -ljpeg -lwxexpat-2.8 -lnsl -lsocket -L/usr/sfw/lib -lfreetype -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -ltiff -R/usr/sfw/lib

(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewapp.o:

:(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewapp.o

(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewframe.o:

:(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewframe.o

(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewcanvas.o:

:(/export/home/ian/munich_src/ADEPT/wx_splview)wxsplview-splviewcanvas.o

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_aui-2.8 .a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_aui-2. 8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_xrc-2.8 .a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_xrc-2. 8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_qa-2.8. a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_qa-2.8 .a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_html-2. 8.a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_html-2 .8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_adv-2.8 .a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_adv-2. 8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_core-2. 8.a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_gtk2_core-2 .8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base_xml-2.8 .a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base_xml-2. 8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base_net-2.8 .a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base_net-2. 8.a

(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base-2.8.a:

:(/export/home/ian/munich_src/ADEPT/wx_splview)/usr/local/lib/libwx_base-2.8.a

Undefinedfirst referenced

symbolin file

jpeg_std_error /export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_resync_to_restart /export/home/ian/munich_src/ADEPT/ocalib/liboca.a(jmemsrc.o)

jpeg_write_scanlines/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_finish_decompress /export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_save_markers/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_stdio_dest /export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_destroy_compress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_destroy_decompress /export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_CreateDecompress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_finish_compress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_start_decompress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_read_header/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_stdio_src /export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_set_defaults/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_CreateCompress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

jpeg_read_scanlines/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(JPGAnalyser.o)

jpeg_start_compress/export/home/ian/munich_src/ADEPT/riplib/libriplib.a(DibSection.o)

ld: fatal: Symbol referencing errors. No output written to wxsplview

gmake[6]: *** [wxsplview] Error 1

gmake[6]: Leaving directory `/export/home/ian/munich_src/ADEPT/wx_splview'

gmake[5]: *** [all-recursive] Error 1

gmake[5]: Leaving directory `/export/home/ian/munich_src/ADEPT/wx_splview'

gmake[4]: *** [all-recursive] Error 1

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT'

gmake[3]: *** [all-recursive] Error 1

gmake[3]: Leaving directory `/export/home/ian/munich_src'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/export/home/ian/munich_src'

gmake[1]: *** [.build-conf] Error 2

gmake[1]: Leaving directory `/export/home/ian/munich_src/projects/sunstudio/mpp'

gmake: *** [.build-impl] Error 2

Build failed. Exit value 2.

When I enter the same command from a command prompt, the compile works (output is below)

bash-3.00$ pwd

/export/home/ian/munich_src

bash-3.00$ gmake

gmake all-recursive

gmake[1]: Entering directory `/export/home/ian/munich_src'

Making all in IntLibraries

gmake[2]: Entering directory `/export/home/ian/munich_src/IntLibraries'

Making all in ufx

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/ufx'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/ufx'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/ufx'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/ufx'

Making all in PSG

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/PSG'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/PSG'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/PSG'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/PSG'

Making all in bce2

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2'

Making all in source

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

Making all in .

gmake[5]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[5]: Nothing to be done for `all-am'.

gmake[5]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2/source'

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/bce2'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/bce2'

Making all in fontlib

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/fontlib'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/fontlib'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/fontlib'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/fontlib'

Making all in DCL

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/DCL'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/DCL'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/DCL'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/DCL'

Making all in AES

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/AES'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/AES'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/AES'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/AES'

Making all in Blob

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries/Blob'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries/Blob'

gmake[3]: Entering directory `/export/home/ian/munich_src/IntLibraries'

gmake[3]: Nothing to be done for `all-am'.

gmake[3]: Leaving directory `/export/home/ian/munich_src/IntLibraries'

gmake[2]: Leaving directory `/export/home/ian/munich_src/IntLibraries'

Making all in ADEPT

gmake[2]: Entering directory `/export/home/ian/munich_src/ADEPT'

Making all in AFPRIP

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/AFPRIP'

Making all in PCLRIP

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/PCLRIP'

Making all in WMFRIP

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/WMFRIP'

Making all in PAXPAFRIP

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/PAXPAFRIP'

Making all in IPDSRIP

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/IPDSRIP'

Making all in riplib

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/riplib'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/riplib'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/riplib'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/riplib'

Making all in ocalib

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/ocalib'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/ocalib'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/ocalib'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/ocalib'

Making all in zodius

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/zodius'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/zodius'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/zodius'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/zodius'

Making all in av_secman

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/av_secman'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/av_secman'

gmake[4]: Nothing to be done for `all-am'.

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/av_secman'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/av_secman'

Making all in wx_splview

gmake[3]: Entering directory `/export/home/ian/munich_src/ADEPT/wx_splview'

Making all in .

gmake[4]: Entering directory `/export/home/ian/munich_src/ADEPT/wx_splview'

/bin/bash ../../libtool --tag=CXX--mode=link CC -DNDEBUG -I../../IntLibraries/DCL -I../../IntLibraries/ufx -I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/local/lib/wx/include/gtk2-ansi-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -mt -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include-g0 -fast -D_FILE_OFFSET_BITS=64 -DENABLE_UNIT_TESTS -I../../IntLibraries/ufx -I../../IntLibraries/bce2/source -D_PSG_BCE -I/usr/sfw/include/freetype2 -I/usr/sfw/include-o wxsplview wxsplview-splviewapp.o wxsplview-splviewframe.o wxsplview-splviewcanvas.o -L../AFPRIP -lafprip -L../PCLRIP -lpclrip -L../PAXPAFRIP -lpaxpafrip -L../WMFRIP -lwmfrip -L../riplib -lriplib -L../ocalib -loca -L../../IntLibraries/fontlib -lfont -L../zodius -lzodius -L../../IntLibraries/PSG -lpsg -L../../IntLibraries/DCL -ldcl -L../../IntLibraries/ufx -lufx -L/usr/local/lib -mt-L/usr/X11R6/lib -L/usr/openwin/lib /usr/local/lib/libwx_gtk2_aui-2.8.a /usr/local/lib/libwx_gtk2_xrc-2.8.a /usr/local/lib/libwx_gtk2_qa-2.8.a /usr/local/lib/libwx_gtk2_html-2.8.a /usr/local/lib/libwx_gtk2_adv-2.8.a /usr/local/lib/libwx_gtk2_core-2.8.a /usr/local/lib/libwx_base_xml-2.8.a /usr/local/lib/libwx_base_net-2.8.a /usr/local/lib/libwx_base-2.8.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lmlib -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lglib-2.0 -lX11 -lXinerama -lSM -lpng -ljpeg -ltiff -lwxexpat-2.8 -lz -lnsl -lsocket -lm -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0-ltiff

CC -DNDEBUG -I../../IntLibraries/DCL -I../../IntLibraries/ufx -I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/local/lib/wx/include/gtk2-ansi-release-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -mt -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g0 -fast -D_FILE_OFFSET_BITS=64 -DENABLE_UNIT_TESTS -I../../IntLibraries/ufx -I../../IntLibraries/bce2/source -D_PSG_BCE -I/usr/sfw/include/freetype2 -I/usr/sfw/include -o wxsplview wxsplview-splviewapp.o wxsplview-splviewframe.o wxsplview-splviewcanvas.o -mt -L/export/home/ian/munich_src/ADEPT/AFPRIP -lafprip -L/export/home/ian/munich_src/ADEPT/PCLRIP -lpclrip -L/export/home/ian/munich_src/ADEPT/PAXPAFRIP -lpaxpafrip -L/export/home/ian/munich_src/ADEPT/WMFRIP -lwmfrip -L/export/home/ian/munich_src/ADEPT/riplib -lriplib -L/export/home/ian/munich_src/ADEPT/ocalib -loca -L/export/home/ian/munich_src/IntLibraries/fontlib -lfont -L/export/home/ian/munich_src/ADEPT/zodius -lzodius -L/export/home/ian/munich_src/IntLibraries/PSG -lpsg -L/export/home/ian/munich_src/IntLibraries/DCL -ldcl -L/export/home/ian/munich_src/IntLibraries/ufx -lufx -L/usr/local/lib -L/usr/X11R6/lib -L/usr/openwin/lib /usr/local/lib/libwx_gtk2_aui-2.8.a /usr/local/lib/libwx_gtk2_xrc-2.8.a /usr/local/lib/libwx_gtk2_qa-2.8.a /usr/local/lib/libwx_gtk2_html-2.8.a /usr/local/lib/libwx_gtk2_adv-2.8.a /usr/local/lib/libwx_gtk2_core-2.8.a /usr/local/lib/libwx_base_xml-2.8.a /usr/local/lib/libwx_base_net-2.8.a /usr/local/lib/libwx_base-2.8.a -lgthread-2.0 -lpthread -lthread -lX11 -lXinerama -lSM -lpng -ljpeg -lwxexpat-2.8 -lnsl -lsocket -L/usr/sfw/lib -lfreetype -lz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -ltiff -R/usr/sfw/lib

gmake[4]: Leaving directory `/export/home/ian/munich_src/ADEPT/wx_splview'

gmake[3]: Leaving directory `/export/home/ian/munich_src/ADEPT/wx_splview'

[29569 byte] By [ibrown_psg1a] at [2007-11-27 9:25:57]
# 1

These kinds of failures usually happen when you use headers from one installation place (like /usr/local/include) and link library from another one (like /opt/csw/lib).

I'ld strongly advise against having both /opt/csw and /usr/local on one system.

For this particular case, you should check out a compilation line used to compile, say DibSection.o from riplib.a (something like cd .../riplib; gmake clean; gmake DibSection.lo)

Check out -I path and get a clue on what jpeglib.h has been picked by this compilation.

Verify that this path (well, its ../lib version) has been used when linking -ljpeg

You can contact me by mail at <my forum nickname> at sun dot com to avoid cluttering the forum with long compilation details.

regards,

__Fedor.

SFVa at 2007-7-12 22:22:49 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Hi Fedor, there is only one jpeg library installed and that's the system one. The only thing in /usr/local is wxWidgets - I put that there rather than in /opt/sfw so that I know what I have added and what is stock in the system.

On looking deeper, it appears that there is a libjpeg.so in the java installation and it looks like it has its symbols stripped. I did the following:

# pwd

/usr/jdk/instances/jdk1.6.0/jre/lib/i386

# mv libjpeg.so x_libjpeg.so

# exit

and now my project compiles. It seems that when running in the IDE, the .so in /usr/jdk/instances/jdk1.6.0/jre/lib/i386 is linked rather than the one in /usr/lib.

That's scary because it would mean that you cannot link to libjpeg when compiling from the IDE.

Ian

ibrown_psg1a at 2007-7-12 22:22:49 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

Now there is a bug filed for CND pack in netbean's issuezilla:

http://cnd.netbeans.org/issues/show_bug.cgi?id=109013

Hopefully it will get addressed soon, as the problem is quite bothering.

Until it is resolved the only you can do is to clean up LD_LIBRARY_PATH in your makefiles manually and set it to whatever settings you need it to be.

regards,

__Fedor.

SFVa at 2007-7-12 22:22:49 > top of Java-index,Development Tools,Solaris and Linux Development Tools...