Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: twixt@cstone.net
Subject: AMD 64 Pascal build error
Date: 13 Oct 2009, 11:40:58
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
> you
should put BUILD_X86_64=y here since you have
> an AMD 64 computer
Thanks. I thought X86 was
inappropriate for AMD.
The grx libraries apparently
installed just fine, and so
did gpc, which was a binary
install using Aptitude.
The grx test programs worked.
I entered the pascal
subdirectory and tried to compile
one of the programs just to see
what would happen.
david@Achernar:~/software/grx/grx248/pascal$ gpc -Wall -v
jpgtest.pas
Using built-in specs.
Configured with:
../src/configure -v --enable-languages=c,pascal --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --disable-libmudflap
--enable-checking=release x86_64-linux-gnu
Thread model: posix
gpc version 20070904, based on
gcc-4.1.3 20080420 (prerelease) (Ubuntu 2.1-4.1.2-22ubuntu1)
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/gpc1 -quiet -v jpgtest.pas -quiet
-dumpbase jpgtest.pas -mtune=generic -famtmpfile=/tmp/ccPshtNC.gpa -Wall
-version -o /tmp/ccsML1Y7.s
GNU Pascal version 20070904,
based on gcc-4.1.3 20080420 (prerelease) (Ubuntu 2.1-4.1.2-22ubuntu1)
(x86_64-linux-gnu)
compiled by GNU C
version 4.1.3 20080420 (prerelease) (Ubuntu 2.1-4.1.2-22ubuntu1).
GGC heuristics: --param
ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Pascal Compiler PreProcessor
version 20070904, based on gcc-4.1.3 20080420 (prerelease) (Ubuntu
2.1-4.1.2-22ubuntu1)
jpgtest.pas:23: error:
module/unit interface `GPC' could not be imported
Okay, I should have just run
make within the directory.
david@Achernar:~/software/grx/grx248/pascal$ which gpc
/usr/bin/gpc
david@Achernar:~/software/grx/grx248/pascal$ make -f
makefile.x11
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xblt_test blt_test.pas
-L../lib/unix
chmod 0755 xblt_test
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xmodetest modetest.pas
-L../lib/unix
chmod 0755 xmodetest
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xkeytest keytest.pas -L../lib/unix
chmod 0755 xkeytest
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xtxt_test txt_test.pas
-L../lib/unix
chmod 0755 xtxt_test
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xvir_test vir_test.pas
-L../lib/unix
chmod 0755 xvir_test
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xpolytest polytest.pas
-L../lib/unix
chmod 0755 xpolytest
gpc --automake -O2
-fno-strict-aliasing -Wall -m64 -o xjpgtest jpgtest.pas -L../lib/unix
../lib/unix/libgrx20X.a(ctx2jpg.o): In function `writejpeg':
ctx2jpg.c:(.text+0x5c):
undefined reference to `jpeg_std_error'
ctx2jpg.c:(.text+0x98):
undefined reference to `jpeg_CreateCompress'
ctx2jpg.c:(.text+0xa5):
undefined reference to `jpeg_stdio_dest'
ctx2jpg.c:(.text+0xe8):
undefined reference to `jpeg_set_defaults'
ctx2jpg.c:(.text+0xf9):
undefined reference to `jpeg_set_quality'
ctx2jpg.c:(.text+0x106):
undefined reference to `jpeg_start_compress'
ctx2jpg.c:(.text+0x1da):
undefined reference to `jpeg_write_scanlines'
ctx2jpg.c:(.text+0x1f2):
undefined reference to `jpeg_finish_compress'
ctx2jpg.c:(.text+0x1fa):
undefined reference to `jpeg_destroy_compress'
ctx2jpg.c:(.text+0x2c7):
undefined reference to `jpeg_destroy_compress'
../lib/unix/libgrx20X.a(jpg2ctx.o): In function `queryjpeg':
jpg2ctx.c:(.text+0x46):
undefined reference to `jpeg_std_error'
jpg2ctx.c:(.text+0x7e):
undefined reference to `jpeg_CreateDecompress'
jpg2ctx.c:(.text+0x8b):
undefined reference to `jpeg_stdio_src'
jpg2ctx.c:(.text+0x98):
undefined reference to `jpeg_read_header'
jpg2ctx.c:(.text+0xb6):
undefined reference to `jpeg_destroy_decompress'
jpg2ctx.c:(.text+0xe6):
undefined reference to `jpeg_destroy_decompress'
../lib/unix/libgrx20X.a(jpg2ctx.o): In function `readjpeg':
jpg2ctx.c:(.text+0x1c9):
undefined reference to `jpeg_std_error'
jpg2ctx.c:(.text+0x205):
undefined reference to `jpeg_CreateDecompress'
jpg2ctx.c:(.text+0x212):
undefined reference to `jpeg_stdio_src'
jpg2ctx.c:(.text+0x21f):
undefined reference to `jpeg_read_header'
jpg2ctx.c:(.text+0x22f):
undefined reference to `jpeg_start_decompress'
jpg2ctx.c:(.text+0x2d0):
undefined reference to `jpeg_read_scanlines'
jpg2ctx.c:(.text+0x359):
undefined reference to `jpeg_finish_decompress'
jpg2ctx.c:(.text+0x361):
undefined reference to `jpeg_destroy_decompress'
jpg2ctx.c:(.text+0x3e5):
undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit
status
make: *** [xjpgtest] Error 1
david@Achernar:~/software/grx/grx248/pascal$ ls -aFl
total 4508
drwxr-xr-x 3 david david 4096
2009-10-12 23:33 ./
drwxr-xr-x 13 david david 4096
2009-10-12 10:56 ../
drwxr-xr-x 2 david david 4096
2007-08-29 14:13 bgi/
-rw-r--r-- 1 david david 1551
2007-08-27 10:27 blt_test.pas
-rw-r--r-- 1 david david 1360
2007-08-25 10:29 colortst.pas
-rw------- 1 david david 51
2009-10-12 23:31 .directory
-rw-r--r-- 1 david david 733508
2009-10-12 23:33 gpc-all.gpi
-rw-r--r-- 1 david david 11435
2009-10-12 23:33 gpc_bp.gpi
-rw-r--r-- 1 david david 854
2009-10-12 23:33 gpc_cp.gpi
-rw-r--r-- 1 david david 27095
2009-10-12 23:33 gpc_delphi.gpi
-rw-r--r-- 1 david david 854
2009-10-12 23:33 gpc_ep.gpi
-rw-r--r-- 1 david david 780447
2009-10-12 23:33 gpc.gpi
-rw-r--r-- 1 david david 1640
2009-10-12 23:33 gpc.o
-rw-r--r-- 1 david david 526702
2009-10-12 23:33 grx.gpi
-rw-r--r-- 1 david david 1640
2009-10-12 23:33 grx.o
-rw-r--r-- 1 david david 72583
2007-09-03 08:02 grx.pas
-rw-r--r-- 1 david david 4483
2005-01-17 12:47 imgview.pas
-rw-r--r-- 1 david david 3299
2007-08-29 16:38 jpgtest.pas
-rw-r--r-- 1 david david 944
2007-03-25 15:11 keytest.pas
-rw-r--r-- 1 david david 1396
2005-01-17 12:44 makefile
-rw-r--r-- 1 david david 1197
2007-08-26 19:56 makefile.dj2
-rw-r--r-- 1 david david 1122
2007-08-26 19:57 makefile.lnx
-rw-r--r-- 1 david david 1155
2007-08-26 19:57 makefile.sdl
-rw-r--r-- 1 david david 1321
2007-08-26 19:58 makefile.w32
-rw-r--r-- 1 david david 1276
2007-08-26 19:57 makefile.x11
-rw-r--r-- 1 david david 583
2007-03-25 15:11 modetest.pas
-rw-r--r-- 1 david david 3903
2007-03-25 15:11 polytest.pas
-rw-r--r-- 1 david david 1445
2007-04-15 11:09 readme
-rw-r--r-- 1 david david 3405
2009-10-12 23:33 test.gpi
-rw-r--r-- 1 david david 5552
2009-10-12 23:33 test.o
-rw-r--r-- 1 david david 1152
2007-08-13 07:32 test.pas
-rw-r--r-- 1 david david 2345
2007-08-27 10:35 txt_test.pas
-rw-r--r-- 1 david david 6296
2007-08-28 16:32 vir_test.pas
-rwxr-xr-x 1 david david 391119
2009-10-12 23:33 xblt_test*
-rwxr-xr-x 1 david david 376059
2009-10-12 23:33 xkeytest*
-rwxr-xr-x 1 david david 338323
2009-10-12 23:33 xmodetest*
-rwxr-xr-x 1 david david 376450
2009-10-12 23:33 xpolytest*
-rwxr-xr-x 1 david david 416533
2009-10-12 23:33 xtxt_test*
-rwxr-xr-x 1 david david 382799
2009-10-12 23:33 xvir_test*
david@Achernar:~/software/grx/grx248/pascal$
It seems more than a coincidence
that the error here
is for the same program I tried
to compile manually,
jpgtest.pas. Did I mess
something up?
Thanks again.
David
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| John L. Ries | AMD 64 Pascal build error | 13 Oct 2009, 09:01:10 |
| Maurice Lombardi | AMD 64 Pascal build error | 14 Oct 2009, 09:48:02 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).