[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install question



yes, that file is in the archive, as seen in this snippet of the
output of nm:


libjpeg.a[jdapimin.o]:

[Index]   Value      Size    Type  Bind  Other Shndx   Name

[2]	|         0|       0|SECT |LOCL |0    |1      |
[3]	|         0|       0|SECT |LOCL |0    |3      |
[4]	|         0|       0|SECT |LOCL |0    |4      |
[7]	|         0|       0|SECT |LOCL |0    |6      |
[8]	|         0|       0|SECT |LOCL |0    |5      |
[9]	|         0|       0|SECT |LOCL |0    |8      |
[6]	|       324|     482|FUNC |LOCL |0    |1      |default_decompress_parms
[5]	|         0|       0|NOTY |LOCL |0    |1      |gcc2_compiled.
[1]	|         0|       0|FILE |LOCL |0    |ABS    |jdapimin.c
[13]	|         0|       0|NOTY |GLOB |0    |UNDEF  |jinit_input_controller
[12]	|         0|       0|NOTY |GLOB |0    |UNDEF  |jinit_marker_reader
[11]	|         0|       0|NOTY |GLOB |0    |UNDEF  |jinit_memory_mgr
[10]	|         0|     276|FUNC |GLOB |0    |1      |jpeg_CreateDecompress
[17]	|         0|       0|NOTY |GLOB |0    |UNDEF  |jpeg_abort
[16]	|       300|      22|FUNC |GLOB |0    |1      |jpeg_abort_decompress
[19]	|       936|     190|FUNC |GLOB |0    |1      |jpeg_consume_input
[15]	|         0|       0|NOTY |GLOB |0    |UNDEF  |jpeg_destroy
[14]	|       276|      22|FUNC |GLOB |0    |1      |jpeg_destroy_decompress
[22]	|      1264|     220|FUNC |GLOB |0    |1      |jpeg_finish_decompress
[21]	|      1196|      66|FUNC |GLOB |0    |1      |jpeg_has_multiple_scans
[20]	|      1128|      66|FUNC |GLOB |0    |1      |jpeg_input_complete
[18]	|       808|     128|FUNC |GLOB |0    |1      |jpeg_read_header


-bogo


On Jan 31, 2001 09:08, Matthew Flatt wrote:
| Quoting Michael Bogomolny:
| > make mred
| > 
| > c++ -L../wxxt/utils/image/src  -L../wxxt/contrib/xpm/lib
| > -L/lusr/X11R6/lib -R/lusr/X11R6/lib -L../mzscheme -Lwxs -Lwxme
| > -L../wxxt/src -L../wxcommon/jpeg  -o mred mred.o mredx.o wxGC.o
| > wxJPEG.o -lmzscheme -lgc -lwxscheme -lwxme -lwx_xt -lXpm -limage_xt
| > -ljpeg -lSM -lICE -lXaw -lXmu -lXt -lX11 -lXext  -ldl -lm  -lsocket
| > -lnsl -lintl   
| > 
| > Undefined                       first referenced
| >  symbol                             in file
| > jpeg_CreateDecompress               wxJPEG.o
| > ld: fatal: Symbol referencing errors. No output written to mred
| > collect2: ld returned 1 exit status
| > *** Error code 1
| > make: Fatal error: Command failed for target `mred'
| > 
| > 
| > i'm aware that ld needs to be the system ld command and not the gnu ld
| > command, as specified in the README file. 
| 
| That's probably not the problem in this case. I suspect a problem in
| the nested `configure's for the JPEG makefile.
| 
| Did the build process create a src/wxcommon/jpeg/libjpeg.a? If so, does
| it contain jpeg_CreateDecompress?:
| 
|   westdip.cs.utah.edu% nm libjpeg.a | grep jpeg_CreateDecompress
|   00000000 T jpeg_CreateDecompress
| 
| Matthew
|