You are not logged in.

#1 2009-06-24 02:44:58

scrawler
Member
Registered: 2005-06-07
Posts: 318

help me fix my PKGBUILD?

Howdy guys,

my newlisp package in the aur has worked fine for quite some time now, but the latest release of newlisp kind of messed things up.

there is now an "alternative build method" for newlisp which works great when I do it by hand, but fails when I try to make changes to my PKGBUILD.  so  I'll post it and then the changes I have to make, and hopefully someone can show me what I'm doing wrong.


pkgname=newlisp
pkgver=10.1.0
pkgrel=3
pkgdesc="newLISP is a LISP like, general purpose scripting language."
url="http://www.newlisp.org"
license=('GPL')
arch=('x86_64' 'i686')
options=('docs')
source=(http://newlisp.com/downloads/$pkgname-$pkgver.tgz)
md5sums=('68be7fa39714dc4022941fdb1adba559')
build() {
  cd $srcdir/$pkgname-$pkgver
  case $CARCH in
      i686) make -f makefile_linux || return 1 ;;
      x86_64) make -f makefile_linux64_utf8 || return 1 ;;
      *) echo "$CARCH is not supported!" ;;
  esac
  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share/man/man1
    make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man datadir=$pkgdir/usr/share install
}

here's what I need to do in $srcdir

cp util/configure-alt configure 
cp util/build-alt build 
cp util/test-memorymodel.c . 
./configure 
make

how do I put the two together?

thanks!

Offline

#2 2009-06-24 02:48:48

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: help me fix my PKGBUILD?

builds fine for me...


.:[My Blog] || [My GitHub]:.

Offline

#3 2009-06-24 02:59:46

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: help me fix my PKGBUILD?

before the changes or after?

Offline

#4 2009-06-24 04:20:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,229
Website

Re: help me fix my PKGBUILD?

scrawler wrote:

there is now an "alternative build method" for newlisp which works great when I do it by hand, but fails when I try to make changes to my PKGBUILD.

Define "fails"... (ie, what's the error messages etc?)

Offline

#5 2009-06-24 13:11:17

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: help me fix my PKGBUILD?

ok, using the unmodified PKGBUILD  I get

Script started on Wed 24 Jun 2009 02:54:46 AM CDT
[newlisp10.1.0-alt]$ makepkg
[1;32m==>[1;0m[1;1m Making package: newlisp 10.1.0-3 x86_64 (Wed Jun 24 02:54:51 CDT 2009)[1;0m
[1;32m==>[1;0m[1;1m Checking Runtime Dependencies...[1;0m
[1;32m==>[1;0m[1;1m Checking Buildtime Dependencies...[1;0m
[1;32m==>[1;0m[1;1m Retrieving Sources...[1;0m
[1;34m  ->[1;0m[1;1m Found newlisp-10.1.0.tgz in build dir[1;0m
[1;32m==>[1;0m[1;1m Validating source files with md5sums...[1;0m
    newlisp-10.1.0.tgz ... Passed
[1;32m==>[1;0m[1;1m Extracting Sources...[1;0m
[1;34m  ->[1;0m[1;1m bsdtar -x -f newlisp-10.1.0.tgz[1;0m
[1;32m==>[1;0m[1;1m Removing existing pkg/ directory...[1;0m
[1;32m==>[1;0m[1;1m Entering fakeroot environment...[1;0m
[1;32m==>[1;0m[1;1m Starting build()...[1;0m
gcc newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o -m64 -g -lm -ldl -lreadline -lncurses -o newlisp
newlisp.o: In function `expand':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:4303: undefined reference to `utf8_wchar'
newlisp.o: In function `p_last':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:5040: undefined reference to `utf8_1st_len'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:5045: undefined reference to `utf8_1st_len'
newlisp.o: In function `p_rest':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:4880: undefined reference to `utf8_1st_len'
newlisp.o: In function `p_first':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:4826: undefined reference to `utf8_1st_len'
newlisp.o: In function `dolist':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/newlisp.c:5563: undefined reference to `utf8_wchar'
newlisp.o:(.data+0x1358): undefined reference to `p_unicode'
newlisp.o:(.data+0x1370): undefined reference to `p_utf8'
newlisp.o:(.data+0x1388): undefined reference to `p_utf8len'
newlisp.o:(.data+0x14d8): undefined reference to `p_readUTF8'
nl-math.o: In function `unifyGetType':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-math.c:2807: undefined reference to `utf8_wchar'
nl-liststr.o: In function `p_select':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:717: undefined reference to `utf8_wstr'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:734: undefined reference to `wstr_utf8'
nl-liststr.o: In function `pushOnString':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:640: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:656: undefined reference to `utf8_wchar'
nl-liststr.o: In function `popString':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:567: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:592: undefined reference to `utf8_1st_len'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:595: undefined reference to `utf8_1st_len'
nl-liststr.o: In function `p_chop':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:263: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-liststr.c:268: undefined reference to `utf8_1st_len'
nl-string.o: In function `p_trim':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:1950: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:1952: undefined reference to `utf8_wstr'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:1966: undefined reference to `utf8_wchar'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:1974: undefined reference to `utf8_wchar'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:2004: undefined reference to `wstr_utf8'
nl-string.o: In function `strUpperLower':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:459: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:462: undefined reference to `utf8_wstr'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:480: undefined reference to `wstr_utf8'
nl-string.o: In function `p_explode':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:390: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:392: undefined reference to `utf8_1st_len'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:403: undefined reference to `utf8_1st_len'
nl-string.o: In function `setNthStr':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:218: undefined reference to `utf8_1st_len'
nl-string.o: In function `implicitIndexString':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:188: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:191: undefined reference to `utf8_1st_len'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:195: undefined reference to `utf8_1st_len'
nl-string.o: In function `p_char':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:328: undefined reference to `wchar_utf8'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:265: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:304: undefined reference to `utf8_1st_len'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-string.c:305: undefined reference to `utf8_wchar'
nl-filesys.o: In function `p_date':
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-filesys.c:2193: undefined reference to `utf8_wlen'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-filesys.c:2195: undefined reference to `utf8_wstr'
/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0/nl-filesys.c:2200: undefined reference to `wstr_utf8'
collect2: ld returned 1 exit status
make: *** [default] Error 1
[1;31m==> ERROR:[1;0m[1;1m Build Failed.[1;0m
[1;1m    Aborting...[1;0m

exit

Script done on Wed 24 Jun 2009 02:55:35 AM CDT

here's the modified PKGBUILD

# Contributor: scrawler <scrawler@gmail.com>
pkgname=newlisp
pkgver=10.1.0
pkgrel=3
pkgdesc="newLISP is a LISP like, general purpose scripting language."
url="http://www.newlisp.org"
license=('GPL')
arch=('x86_64' 'i686')
options=('docs')
source=(http://newlisp.com/downloads/$pkgname-$pkgver.tgz)
md5sums=('68be7fa39714dc4022941fdb1adba559')
build() {
  cd $srcdir/$pkgname-$pkgver
  cp util/configure-alt configure
  cp util/build-alt build
  cp util/test-memorymodel.c .
  ./configure
  make || return 1
  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share/man/man1
    make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man datadir=$pkgdir/usr/share install
}

and it's errors...

Script started on Wed 24 Jun 2009 03:01:04 AM CDT
[tf@bigblessing newlisp10.1.0-alt]$ makepkg
[1;32m==>[1;0m[1;1m Making package: newlisp 10.1.0-3 x86_64 (Wed Jun 24 03:01:12 CDT 2009)[1;0m
[1;32m==>[1;0m[1;1m Checking Runtime Dependencies...[1;0m
[1;32m==>[1;0m[1;1m Checking Buildtime Dependencies...[1;0m
[1;32m==>[1;0m[1;1m Retrieving Sources...[1;0m
[1;34m  ->[1;0m[1;1m Found newlisp-10.1.0.tgz in build dir[1;0m
[1;32m==>[1;0m[1;1m Validating source files with md5sums...[1;0m
    newlisp-10.1.0.tgz ... Passed
[1;32m==>[1;0m[1;1m Extracting Sources...[1;0m
[1;34m  ->[1;0m[1;1m bsdtar -x -f newlisp-10.1.0.tgz[1;0m
[1;32m==>[1;0m[1;1m Removing existing pkg/ directory...[1;0m
[1;32m==>[1;0m[1;1m Entering fakeroot environment...[1;0m
[1;32m==>[1;0m[1;1m Starting build()...[1;0m
rm -f *~ *.bak *.o *.obj *.map *.core core *.tgz guiserver/java/._* TEST newlisp-universal
rm -f guiserver/*.class doc/*~ util/*~ examples/*~ modules/*~
rm -f doc/*.bak util/*.bak examples/*.bak modules/*.bak
chmod 644 *.h *.c *.lsp Makefile makefile*
chmod 755 build configure examples/*
chmod 644 doc/* modules/*.lsp examples/*.lsp examples/*.html
chmod 644 guiserver/*
chmod 755 guiserver/images
chmod 644 guiserver/images/*
chmod 755 guiserver/java
chmod 644 guiserver/java/*
rm -f config.h makefile_configure newlisp test-memorymodel

Detected memory model LP64, using memory model
Detected Operating System LINUX
UTF-8 is enabled
readline support is enabled

Type "make" to build your newlisp binary.

If that doesn't work, type "make help"
./build

make[1]: Entering directory `/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0'
gcc -march=x86-64 -mtune=generic -O2 -pipe -DNEWCONFIG newlisp.c
/tmp/ccMpQ5qW.o: In function `deleteList':
newlisp.c:(.text+0x2ac): undefined reference to `deleteArray'
/tmp/ccMpQ5qW.o: In function `varPrintf':
newlisp.c:(.text+0x613): undefined reference to `writeStreamStr'
newlisp.c:(.text+0x636): undefined reference to `writeLog'
/tmp/ccMpQ5qW.o: In function `printSymbolName':
newlisp.c:(.text+0x75f): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `printCell':
newlisp.c:(.text+0xd31): undefined reference to `printArray'
newlisp.c:(.text+0xef5): undefined reference to `lookupSymbol'
newlisp.c:(.text+0xf28): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `printErrorMessage':
newlisp.c:(.text+0xfaf): undefined reference to `openStrStream'
newlisp.c:(.text+0xfc3): undefined reference to `writeStreamStr'
newlisp.c:(.text+0xfde): undefined reference to `writeStreamStr'
newlisp.c:(.text+0x1040): undefined reference to `writeStreamStr'
newlisp.c:(.text+0x10a3): undefined reference to `writeStreamStr'
newlisp.c:(.text+0x10b4): undefined reference to `writeStreamStr'
/tmp/ccMpQ5qW.o:newlisp.c:(.text+0x10d5): more undefined references to `writeStreamStr' follow
/tmp/ccMpQ5qW.o: In function `fatalError':
newlisp.c:(.text+0x121d): undefined reference to `closeTrace'
/tmp/ccMpQ5qW.o: In function `errorProcAll':
newlisp.c:(.text+0x127b): undefined reference to `openTrace'
/tmp/ccMpQ5qW.o: In function `markList':
newlisp.c:(.text+0x1474): undefined reference to `markArray'
/tmp/ccMpQ5qW.o: In function `markReferences':
newlisp.c:(.text+0x14ac): undefined reference to `sentinel'
/tmp/ccMpQ5qW.o: In function `reset':
newlisp.c:(.text+0x15e3): undefined reference to `xmlTags'
/tmp/ccMpQ5qW.o: In function `copyContextCell':
newlisp.c:(.text+0x1c7e): undefined reference to `lookupSymbol'
newlisp.c:(.text+0x1d73): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x1d9a): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `iterateSymbols':
newlisp.c:(.text+0x1dd0): undefined reference to `sentinel'
newlisp.c:(.text+0x1e27): undefined reference to `lookupSymbol'
newlisp.c:(.text+0x1e48): undefined reference to `sentinel'
newlisp.c:(.text+0x1e6c): undefined reference to `lookupSymbol'
newlisp.c:(.text+0x1e8b): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x1ec4): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `isLegalSymbol':
newlisp.c:(.text+0x2897): undefined reference to `makeStreamFromString'
/tmp/ccMpQ5qW.o: In function `printSymbol':
newlisp.c:(.text+0x2ea6): undefined reference to `printArrayDimensions'
newlisp.c:(.text+0x2ebd): undefined reference to `arrayList'
/tmp/ccMpQ5qW.o: In function `makeStringSymbol':
newlisp.c:(.text+0x2ffa): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `initialize':
newlisp.c:(.text+0x307c): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x3095): undefined reference to `makeContextFromSymbol'
newlisp.c:(.text+0x30d2): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x311f): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x314c): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x3179): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x319b): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o:newlisp.c:(.text+0x31bd): more undefined references to `translateCreateSymbol' follow
/tmp/ccMpQ5qW.o: In function `initialize':
newlisp.c:(.text+0x3390): undefined reference to `openStrStream'
newlisp.c:(.text+0x33a1): undefined reference to `openStrStream'
/tmp/ccMpQ5qW.o: In function `compileExpression':
newlisp.c:(.text+0x3800): undefined reference to `readStreamText'
newlisp.c:(.text+0x3867): undefined reference to `lookupSymbol'
newlisp.c:(.text+0x3891): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x38ef): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x3923): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x3979): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `copyCell':
newlisp.c:(.text+0x3bd4): undefined reference to `copyArray'
/tmp/ccMpQ5qW.o: In function `saveContext':
newlisp.c:(.text+0x3d8c): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `saveSymbols':
newlisp.c:(.text+0x3e7b): undefined reference to `sentinel'
/tmp/ccMpQ5qW.o: In function `expand':
newlisp.c:(.text+0x3fe6): undefined reference to `utf8_wchar'
/tmp/ccMpQ5qW.o: In function `p_args':
newlisp.c:(.text+0x40ec): undefined reference to `implicitIndexList'
/tmp/ccMpQ5qW.o: In function `evaluateExpression':
newlisp.c:(.text+0x46da): undefined reference to `implicitIndexList'
newlisp.c:(.text+0x470d): undefined reference to `traceExit'
newlisp.c:(.text+0x4728): undefined reference to `implicitIndexArray'
newlisp.c:(.text+0x474f): undefined reference to `traceEntry'
newlisp.c:(.text+0x485b): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x48d2): undefined reference to `executeLibfunction'
newlisp.c:(.text+0x48f0): undefined reference to `implicitIndexString'
newlisp.c:(.text+0x4938): undefined reference to `implicitIndexList'
newlisp.c:(.text+0x4960): undefined reference to `implicitIndexArray'
newlisp.c:(.text+0x498c): undefined reference to `implicitIndexString'
/tmp/ccMpQ5qW.o: In function `p_colon':
newlisp.c:(.text+0x4a48): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x4aac): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `getCreateContext':
newlisp.c:(.text+0x4c21): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x4c5e): undefined reference to `makeContextFromSymbol'
/tmp/ccMpQ5qW.o: In function `isType':
newlisp.c:(.text+0x4dc5): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `p_case':
newlisp.c:(.text+0x5ac5): undefined reference to `compareCells'
/tmp/ccMpQ5qW.o: In function `p_list':
newlisp.c:(.text+0x5c91): undefined reference to `arrayList'
/tmp/ccMpQ5qW.o: In function `p_context':
newlisp.c:(.text+0x63c3): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x644e): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `p_setf':
newlisp.c:(.text+0x65dc): undefined reference to `deleteArray'
newlisp.c:(.text+0x65f7): undefined reference to `setNthStr'
/tmp/ccMpQ5qW.o: In function `getListHead':
newlisp.c:(.text+0x67c3): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `getEvalDefault':
newlisp.c:(.text+0x6823): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `p_last':
newlisp.c:(.text+0x6914): undefined reference to `utf8_1st_len'
newlisp.c:(.text+0x6920): undefined reference to `utf8_1st_len'
/tmp/ccMpQ5qW.o: In function `p_rest':
newlisp.c:(.text+0x6a9c): undefined reference to `utf8_1st_len'
newlisp.c:(.text+0x6ac8): undefined reference to `subarray'
/tmp/ccMpQ5qW.o: In function `p_first':
newlisp.c:(.text+0x6b82): undefined reference to `utf8_1st_len'
/tmp/ccMpQ5qW.o: In function `p_default':
newlisp.c:(.text+0x6d12): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `p_new':
newlisp.c:(.text+0x6e9a): undefined reference to `makeContextFromSymbol'
/tmp/ccMpQ5qW.o: In function `getCreateSymbol':
newlisp.c:(.text+0x6f11): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `p_defineNew':
newlisp.c:(.text+0x7100): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `getStringSize':
newlisp.c:(.text+0x7701): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `getString':
newlisp.c:(.text+0x77ab): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `p_isContext':
newlisp.c:(.text+0x7827): undefined reference to `lookupSymbol'
/tmp/ccMpQ5qW.o: In function `p_save':
newlisp.c:(.text+0x78f1): undefined reference to `my_strnicmp'
newlisp.c:(.text+0x7908): undefined reference to `openStrStream'
newlisp.c:(.text+0x7937): undefined reference to `getPutPostDeleteUrl'
newlisp.c:(.text+0x7957): undefined reference to `closeStrStream'
newlisp.c:(.text+0x79d0): undefined reference to `my_strnicmp'
newlisp.c:(.text+0x79eb): undefined reference to `openFile'
/tmp/ccMpQ5qW.o: In function `implicitNrestSlice':
newlisp.c:(.text+0x7d3f): undefined reference to `subarray'
newlisp.c:(.text+0x7d5b): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x7d7e): undefined reference to `sublist'
newlisp.c:(.text+0x7db3): undefined reference to `translateCreateSymbol'
newlisp.c:(.text+0x7ddf): undefined reference to `substring'
newlisp.c:(.text+0x7dfb): undefined reference to `subarray'
newlisp.c:(.text+0x7e1a): undefined reference to `substring'
/tmp/ccMpQ5qW.o: In function `loop':
newlisp.c:(.text+0x824e): undefined reference to `floor'
newlisp.c:(.text+0x82c6): undefined reference to `floor'
/tmp/ccMpQ5qW.o: In function `sysEvalString':
newlisp.c:(.text+0x8db0): undefined reference to `makeStreamFromString'
/tmp/ccMpQ5qW.o: In function `dolist':
newlisp.c:(.text+0x937d): undefined reference to `utf8_wchar'
newlisp.c:(.text+0x942d): undefined reference to `collectSymbols'
/tmp/ccMpQ5qW.o: In function `evaluateNamespaceHash':
newlisp.c:(.text+0x9d3d): undefined reference to `makeSafeSymbol'
newlisp.c:(.text+0x9e14): undefined reference to `makeSafeSymbol'
newlisp.c:(.text+0x9e9a): undefined reference to `deleteFreeSymbol'
newlisp.c:(.text+0x9eb9): undefined reference to `makeSafeSymbol'
/tmp/ccMpQ5qW.o: In function `evaluateStream':
newlisp.c:(.text+0xa2bd): undefined reference to `writeLog'
/tmp/ccMpQ5qW.o: In function `loadFile':
newlisp.c:(.text+0xa32b): undefined reference to `my_strnicmp'
newlisp.c:(.text+0xa349): undefined reference to `getPutPostDeleteUrl'
newlisp.c:(.text+0xa41e): undefined reference to `my_strnicmp'
newlisp.c:(.text+0xa445): undefined reference to `makeStreamFromFile'
newlisp.c:(.text+0xa4bb): undefined reference to `closeStrStream'
newlisp.c:(.text+0xa528): undefined reference to `encryptPad'
newlisp.c:(.text+0xa53d): undefined reference to `closeStrStream'
/tmp/ccMpQ5qW.o: In function `setupServer':
newlisp.c:(.text+0xa6e3): undefined reference to `serverFD'
/tmp/ccMpQ5qW.o: In function `executeCommandLine':
newlisp.c:(.text+0xa845): undefined reference to `makeStreamFromString'
newlisp.c:(.text+0xa90a): undefined reference to `executeHTTPrequest'
newlisp.c:(.text+0xa956): undefined reference to `openStrStream'
newlisp.c:(.text+0xa98a): undefined reference to `writeStreamStr'
newlisp.c:(.text+0xa9ab): undefined reference to `closeStrStream'
newlisp.c:(.text+0xa9e9): undefined reference to `writeLog'
newlisp.c:(.text+0xa9ff): undefined reference to `executeHTTPrequest'
newlisp.c:(.text+0xaa53): undefined reference to `writeLog'
newlisp.c:(.text+0xaa5d): undefined reference to `writeLog'
newlisp.c:(.text+0xaa71): undefined reference to `makeStreamFromString'
newlisp.c:(.text+0xaa88): undefined reference to `closeStrStream'
newlisp.c:(.text+0xaa9e): undefined reference to `writeLog'
newlisp.c:(.text+0xaaba): undefined reference to `executeHTTPrequest'
newlisp.c:(.text+0xaad2): undefined reference to `executeHTTPrequest'
newlisp.c:(.text+0xaaea): undefined reference to `executeHTTPrequest'
/tmp/ccMpQ5qW.o: In function `main':
newlisp.c:(.text+0xadec): undefined reference to `initDefaultInAddr'
newlisp.c:(.text+0xaed2): undefined reference to `rl_readline_name'
newlisp.c:(.text+0xaedd): undefined reference to `rl_attempted_completion_function'
newlisp.c:(.text+0xaf77): undefined reference to `readline'
newlisp.c:(.text+0xb02c): undefined reference to `add_history'
/tmp/ccMpQ5qW.o: In function `printErrorMessage':
newlisp.c:(.text+0x11af): undefined reference to `writeLog'
/tmp/ccMpQ5qW.o: In function `getDynamicSymbol':
newlisp.c:(.text+0x1a18): undefined reference to `translateCreateSymbol'
/tmp/ccMpQ5qW.o: In function `evaluateNamespaceHash':
newlisp.c:(.text+0x9e74): undefined reference to `associationsFromTree'
/tmp/ccMpQ5qW.o: In function `newlisp_completion':
newlisp.c:(.text+0xab06): undefined reference to `completion_matches'
/tmp/ccMpQ5qW.o: In function `signal_handler':
newlisp.c:(.text+0xb622): undefined reference to `openTrace'
/tmp/ccMpQ5qW.o:(.data+0x98): undefined reference to `p_sequence'
/tmp/ccMpQ5qW.o:(.data+0xb0): undefined reference to `p_series'
/tmp/ccMpQ5qW.o:(.data+0x248): undefined reference to `p_amb'
/tmp/ccMpQ5qW.o:(.data+0x2d8): undefined reference to `p_map'
/tmp/ccMpQ5qW.o:(.data+0x2f0): undefined reference to `p_name'
/tmp/ccMpQ5qW.o:(.data+0x308): undefined reference to `p_filter'
/tmp/ccMpQ5qW.o:(.data+0x320): undefined reference to `p_clean'
/tmp/ccMpQ5qW.o:(.data+0x338): undefined reference to `p_index'
/tmp/ccMpQ5qW.o:(.data+0x488): undefined reference to `p_flat'
/tmp/ccMpQ5qW.o:(.data+0x4e8): undefined reference to `p_append'
/tmp/ccMpQ5qW.o:(.data+0x518): undefined reference to `p_nth'
/tmp/ccMpQ5qW.o:(.data+0x530): undefined reference to `p_ref'
/tmp/ccMpQ5qW.o:(.data+0x548): undefined reference to `p_refAll'
/tmp/ccMpQ5qW.o:(.data+0x560): undefined reference to `p_setRef'
/tmp/ccMpQ5qW.o:(.data+0x578): undefined reference to `p_setRefAll'
/tmp/ccMpQ5qW.o:(.data+0x590): undefined reference to `p_select'
/tmp/ccMpQ5qW.o:(.data+0x5a8): undefined reference to `p_swap'
/tmp/ccMpQ5qW.o:(.data+0x5c0): undefined reference to `p_slice'
/tmp/ccMpQ5qW.o:(.data+0x5d8): undefined reference to `p_length'
/tmp/ccMpQ5qW.o:(.data+0x5f0): undefined reference to `p_find'
/tmp/ccMpQ5qW.o:(.data+0x608): undefined reference to `p_search'
/tmp/ccMpQ5qW.o:(.data+0x620): undefined reference to `p_member'
/tmp/ccMpQ5qW.o:(.data+0x638): undefined reference to `p_intersect'
/tmp/ccMpQ5qW.o:(.data+0x650): undefined reference to `p_difference'
/tmp/ccMpQ5qW.o:(.data+0x668): undefined reference to `p_unique'
/tmp/ccMpQ5qW.o:(.data+0x680): undefined reference to `p_assoc'
/tmp/ccMpQ5qW.o:(.data+0x698): undefined reference to `p_lookup'
/tmp/ccMpQ5qW.o:(.data+0x6b0): undefined reference to `p_count'
/tmp/ccMpQ5qW.o:(.data+0x6c8): undefined reference to `p_popAssoc'
/tmp/ccMpQ5qW.o:(.data+0x6e0): undefined reference to `p_replace'
/tmp/ccMpQ5qW.o:(.data+0x6f8): undefined reference to `p_sort'
/tmp/ccMpQ5qW.o:(.data+0x710): undefined reference to `p_push'
/tmp/ccMpQ5qW.o:(.data+0x728): undefined reference to `p_pop'
/tmp/ccMpQ5qW.o:(.data+0x740): undefined reference to `p_reverse'
/tmp/ccMpQ5qW.o:(.data+0x758): undefined reference to `p_rotate'
/tmp/ccMpQ5qW.o:(.data+0x770): undefined reference to `p_dup'
/tmp/ccMpQ5qW.o:(.data+0x7a0): undefined reference to `p_add'
/tmp/ccMpQ5qW.o:(.data+0x7b8): undefined reference to `p_subtract'
/tmp/ccMpQ5qW.o:(.data+0x7d0): undefined reference to `p_multiply'
/tmp/ccMpQ5qW.o:(.data+0x7e8): undefined reference to `p_divide'
/tmp/ccMpQ5qW.o:(.data+0x800): undefined reference to `p_modulo'
/tmp/ccMpQ5qW.o:(.data+0x818): undefined reference to `p_less'
/tmp/ccMpQ5qW.o:(.data+0x830): undefined reference to `p_greater'
/tmp/ccMpQ5qW.o:(.data+0x848): undefined reference to `p_lessEqual'
/tmp/ccMpQ5qW.o:(.data+0x860): undefined reference to `p_greaterEqual'
/tmp/ccMpQ5qW.o:(.data+0x878): undefined reference to `p_equal'
/tmp/ccMpQ5qW.o:(.data+0x890): undefined reference to `p_notEqual'
/tmp/ccMpQ5qW.o:(.data+0x8a8): undefined reference to `p_shiftLeft'
/tmp/ccMpQ5qW.o:(.data+0x8c0): undefined reference to `p_shiftRight'
/tmp/ccMpQ5qW.o:(.data+0x8d8): undefined reference to `p_bitAnd'
/tmp/ccMpQ5qW.o:(.data+0x8f0): undefined reference to `p_bitOr'
/tmp/ccMpQ5qW.o:(.data+0x908): undefined reference to `p_bitXor'
/tmp/ccMpQ5qW.o:(.data+0x920): undefined reference to `p_bitNot'
/tmp/ccMpQ5qW.o:(.data+0x938): undefined reference to `p_increment'
/tmp/ccMpQ5qW.o:(.data+0x950): undefined reference to `p_decrement'
/tmp/ccMpQ5qW.o:(.data+0x968): undefined reference to `p_addFloat'
/tmp/ccMpQ5qW.o:(.data+0x980): undefined reference to `p_subFloat'
/tmp/ccMpQ5qW.o:(.data+0x998): undefined reference to `p_mulFloat'
/tmp/ccMpQ5qW.o:(.data+0x9b0): undefined reference to `p_divFloat'
/tmp/ccMpQ5qW.o:(.data+0x9c8): undefined reference to `p_abs'
/tmp/ccMpQ5qW.o:(.data+0x9e0): undefined reference to `p_ceil'
/tmp/ccMpQ5qW.o:(.data+0x9f8): undefined reference to `p_floor'
/tmp/ccMpQ5qW.o:(.data+0xa10): undefined reference to `p_erf'
/tmp/ccMpQ5qW.o:(.data+0xa28): undefined reference to `p_sgn'
/tmp/ccMpQ5qW.o:(.data+0xa40): undefined reference to `p_sin'
/tmp/ccMpQ5qW.o:(.data+0xa58): undefined reference to `p_cos'
/tmp/ccMpQ5qW.o:(.data+0xa70): undefined reference to `p_tan'
/tmp/ccMpQ5qW.o:(.data+0xa88): undefined reference to `p_asin'
/tmp/ccMpQ5qW.o:(.data+0xaa0): undefined reference to `p_acos'
/tmp/ccMpQ5qW.o:(.data+0xab8): undefined reference to `p_atan'
/tmp/ccMpQ5qW.o:(.data+0xad0): undefined reference to `p_atan2'
/tmp/ccMpQ5qW.o:(.data+0xae8): undefined reference to `p_sinh'
/tmp/ccMpQ5qW.o:(.data+0xb00): undefined reference to `p_cosh'
/tmp/ccMpQ5qW.o:(.data+0xb18): undefined reference to `p_tanh'
/tmp/ccMpQ5qW.o:(.data+0xb30): undefined reference to `p_asinh'
/tmp/ccMpQ5qW.o:(.data+0xb48): undefined reference to `p_acosh'
/tmp/ccMpQ5qW.o:(.data+0xb60): undefined reference to `p_atanh'
/tmp/ccMpQ5qW.o:(.data+0xb78): undefined reference to `p_round'
/tmp/ccMpQ5qW.o:(.data+0xb90): undefined reference to `p_exp'
/tmp/ccMpQ5qW.o:(.data+0xba8): undefined reference to `p_log'
/tmp/ccMpQ5qW.o:(.data+0xbc0): undefined reference to `p_sqrt'
/tmp/ccMpQ5qW.o:(.data+0xbd8): undefined reference to `p_rand'
/tmp/ccMpQ5qW.o:(.data+0xbf0): undefined reference to `p_seed'
/tmp/ccMpQ5qW.o:(.data+0xc08): undefined reference to `p_random'
/tmp/ccMpQ5qW.o:(.data+0xc20): undefined reference to `p_normal'
/tmp/ccMpQ5qW.o:(.data+0xc38): undefined reference to `p_randomize'
/tmp/ccMpQ5qW.o:(.data+0xc50): undefined reference to `p_encrypt'
/tmp/ccMpQ5qW.o:(.data+0xc68): undefined reference to `p_minFloat'
/tmp/ccMpQ5qW.o:(.data+0xc80): undefined reference to `p_maxFloat'
/tmp/ccMpQ5qW.o:(.data+0xc98): undefined reference to `p_powFloat'
/tmp/ccMpQ5qW.o:(.data+0xcb0): undefined reference to `p_modFloat'
/tmp/ccMpQ5qW.o:(.data+0xcc8): undefined reference to `p_probabilityZ'
/tmp/ccMpQ5qW.o:(.data+0xce0): undefined reference to `p_probabilityChi2'
/tmp/ccMpQ5qW.o:(.data+0xcf8): undefined reference to `p_criticalChi2'
/tmp/ccMpQ5qW.o:(.data+0xd10): undefined reference to `p_criticalZ'
/tmp/ccMpQ5qW.o:(.data+0xd28): undefined reference to `p_fft'
/tmp/ccMpQ5qW.o:(.data+0xd40): undefined reference to `p_ifft'
/tmp/ccMpQ5qW.o:(.data+0xd58): undefined reference to `p_beta'
/tmp/ccMpQ5qW.o:(.data+0xd70): undefined reference to `p_betai'
/tmp/ccMpQ5qW.o:(.data+0xd88): undefined reference to `p_gammaln'
/tmp/ccMpQ5qW.o:(.data+0xda0): undefined reference to `p_gammai'
/tmp/ccMpQ5qW.o:(.data+0xdb8): undefined reference to `p_binomial'
/tmp/ccMpQ5qW.o:(.data+0xdd0): undefined reference to `p_factor'
/tmp/ccMpQ5qW.o:(.data+0xde8): undefined reference to `p_pmt'
/tmp/ccMpQ5qW.o:(.data+0xe00): undefined reference to `p_pv'
/tmp/ccMpQ5qW.o:(.data+0xe18): undefined reference to `p_fv'
/tmp/ccMpQ5qW.o:(.data+0xe30): undefined reference to `p_nper'
/tmp/ccMpQ5qW.o:(.data+0xe48): undefined reference to `p_npv'
/tmp/ccMpQ5qW.o:(.data+0xe60): undefined reference to `p_irr'
/tmp/ccMpQ5qW.o:(.data+0xe78): undefined reference to `p_matTranspose'
/tmp/ccMpQ5qW.o:(.data+0xe90): undefined reference to `p_matMultiply'
/tmp/ccMpQ5qW.o:(.data+0xea8): undefined reference to `p_matInvert'
/tmp/ccMpQ5qW.o:(.data+0xec0): undefined reference to `p_determinant'
/tmp/ccMpQ5qW.o:(.data+0xed8): undefined reference to `p_matScalar'
/tmp/ccMpQ5qW.o:(.data+0xef0): undefined reference to `p_array'
/tmp/ccMpQ5qW.o:(.data+0xf08): undefined reference to `p_arrayList'
/tmp/ccMpQ5qW.o:(.data+0xf20): undefined reference to `p_flt'
/tmp/ccMpQ5qW.o:(.data+0xf38): undefined reference to `p_bayesTrain'
/tmp/ccMpQ5qW.o:(.data+0xf50): undefined reference to `p_bayesQuery'
/tmp/ccMpQ5qW.o:(.data+0xf68): undefined reference to `p_unify'
/tmp/ccMpQ5qW.o:(.data+0xf80): undefined reference to `p_bind'
/tmp/ccMpQ5qW.o:(.data+0xf98): undefined reference to `p_uuid'
/tmp/ccMpQ5qW.o:(.data+0xfb0): undefined reference to `p_gcd'
/tmp/ccMpQ5qW.o:(.data+0xff8): undefined reference to `p_join'
/tmp/ccMpQ5qW.o:(.data+0x1010): undefined reference to `p_chop'
/tmp/ccMpQ5qW.o:(.data+0x1028): undefined reference to `p_explode'
/tmp/ccMpQ5qW.o:(.data+0x1040): undefined reference to `p_trim'
/tmp/ccMpQ5qW.o:(.data+0x1058): undefined reference to `p_char'
/tmp/ccMpQ5qW.o:(.data+0x1070): undefined reference to `p_startsWith'
/tmp/ccMpQ5qW.o:(.data+0x1088): undefined reference to `p_endsWith'
/tmp/ccMpQ5qW.o:(.data+0x10a0): undefined reference to `p_upper'
/tmp/ccMpQ5qW.o:(.data+0x10b8): undefined reference to `p_lower'
/tmp/ccMpQ5qW.o:(.data+0x10d0): undefined reference to `p_title'
/tmp/ccMpQ5qW.o:(.data+0x10e8): undefined reference to `p_format'
/tmp/ccMpQ5qW.o:(.data+0x1100): undefined reference to `p_match'
/tmp/ccMpQ5qW.o:(.data+0x1118): undefined reference to `p_regex'
/tmp/ccMpQ5qW.o:(.data+0x1130): undefined reference to `p_regexComp'
/tmp/ccMpQ5qW.o:(.data+0x1148): undefined reference to `p_integer'
/tmp/ccMpQ5qW.o:(.data+0x1160): undefined reference to `p_integer'
/tmp/ccMpQ5qW.o:(.data+0x1178): undefined reference to `p_float'
/tmp/ccMpQ5qW.o:(.data+0x1190): undefined reference to `p_string'
/tmp/ccMpQ5qW.o:(.data+0x11a8): undefined reference to `p_bits'
/tmp/ccMpQ5qW.o:(.data+0x11c0): undefined reference to `p_getFloat'
/tmp/ccMpQ5qW.o:(.data+0x11d8): undefined reference to `p_getString'
/tmp/ccMpQ5qW.o:(.data+0x11f0): undefined reference to `p_getInteger'
/tmp/ccMpQ5qW.o:(.data+0x1208): undefined reference to `p_getLong'
/tmp/ccMpQ5qW.o:(.data+0x1220): undefined reference to `p_getChar'
/tmp/ccMpQ5qW.o:(.data+0x1238): undefined reference to `p_symbol'
/tmp/ccMpQ5qW.o:(.data+0x1250): undefined reference to `p_parse'
/tmp/ccMpQ5qW.o:(.data+0x1268): undefined reference to `p_parseDate'
/tmp/ccMpQ5qW.o:(.data+0x1280): undefined reference to `p_pack'
/tmp/ccMpQ5qW.o:(.data+0x1298): undefined reference to `p_unpack'
/tmp/ccMpQ5qW.o:(.data+0x12b0): undefined reference to `p_XMLparse'
/tmp/ccMpQ5qW.o:(.data+0x12c8): undefined reference to `p_XMLerror'
/tmp/ccMpQ5qW.o:(.data+0x12e0): undefined reference to `p_XMLtypeTags'
/tmp/ccMpQ5qW.o:(.data+0x12f8): undefined reference to `p_base64Enc'
/tmp/ccMpQ5qW.o:(.data+0x1310): undefined reference to `p_base64Dec'
/tmp/ccMpQ5qW.o:(.data+0x1328): undefined reference to `p_crc32'
/tmp/ccMpQ5qW.o:(.data+0x1340): undefined reference to `p_findAll'
/tmp/ccMpQ5qW.o:(.data+0x1358): undefined reference to `p_unicode'
/tmp/ccMpQ5qW.o:(.data+0x1370): undefined reference to `p_utf8'
/tmp/ccMpQ5qW.o:(.data+0x1388): undefined reference to `p_utf8len'
/tmp/ccMpQ5qW.o:(.data+0x13e8): undefined reference to `p_readLine'
/tmp/ccMpQ5qW.o:(.data+0x1400): undefined reference to `p_writeLine'
/tmp/ccMpQ5qW.o:(.data+0x1418): undefined reference to `p_currentLine'
/tmp/ccMpQ5qW.o:(.data+0x1478): undefined reference to `p_symbolSource'
/tmp/ccMpQ5qW.o:(.data+0x1490): undefined reference to `p_open'
/tmp/ccMpQ5qW.o:(.data+0x14a8): undefined reference to `p_close'
/tmp/ccMpQ5qW.o:(.data+0x14c0): undefined reference to `p_readChar'
/tmp/ccMpQ5qW.o:(.data+0x14d8): undefined reference to `p_readUTF8'
/tmp/ccMpQ5qW.o:(.data+0x14f0): undefined reference to `p_writeChar'
/tmp/ccMpQ5qW.o:(.data+0x1508): undefined reference to `p_readBuffer'
/tmp/ccMpQ5qW.o:(.data+0x1520): undefined reference to `p_writeBuffer'
/tmp/ccMpQ5qW.o:(.data+0x1538): undefined reference to `p_writeFile'
/tmp/ccMpQ5qW.o:(.data+0x1550): undefined reference to `p_appendFile'
/tmp/ccMpQ5qW.o:(.data+0x1568): undefined reference to `p_readFile'
/tmp/ccMpQ5qW.o:(.data+0x1580): undefined reference to `p_readKey'
/tmp/ccMpQ5qW.o:(.data+0x1598): undefined reference to `p_getUrl'
/tmp/ccMpQ5qW.o:(.data+0x15b0): undefined reference to `p_putUrl'
/tmp/ccMpQ5qW.o:(.data+0x15c8): undefined reference to `p_postUrl'
/tmp/ccMpQ5qW.o:(.data+0x15e0): undefined reference to `p_deleteUrl'
/tmp/ccMpQ5qW.o:(.data+0x15f8): undefined reference to `p_destroyProcess'
/tmp/ccMpQ5qW.o:(.data+0x1610): undefined reference to `p_exec'
/tmp/ccMpQ5qW.o:(.data+0x1628): undefined reference to `p_process'
/tmp/ccMpQ5qW.o:(.data+0x1640): undefined reference to `p_pipe'
/tmp/ccMpQ5qW.o:(.data+0x1658): undefined reference to `p_fork'
/tmp/ccMpQ5qW.o:(.data+0x1670): undefined reference to `p_waitpid'
/tmp/ccMpQ5qW.o:(.data+0x1688): undefined reference to `p_spawn'
/tmp/ccMpQ5qW.o:(.data+0x16a0): undefined reference to `p_sync'
/tmp/ccMpQ5qW.o:(.data+0x16b8): undefined reference to `p_abort'
/tmp/ccMpQ5qW.o:(.data+0x16d0): undefined reference to `p_send'
/tmp/ccMpQ5qW.o:(.data+0x16e8): undefined reference to `p_receive'
/tmp/ccMpQ5qW.o:(.data+0x1700): undefined reference to `p_share'
/tmp/ccMpQ5qW.o:(.data+0x1718): undefined reference to `p_semaphore'
/tmp/ccMpQ5qW.o:(.data+0x1730): undefined reference to `p_seek'
/tmp/ccMpQ5qW.o:(.data+0x1748): undefined reference to `p_peek'
/tmp/ccMpQ5qW.o:(.data+0x1778): undefined reference to `p_forAll'
/tmp/ccMpQ5qW.o:(.data+0x1790): undefined reference to `p_exists'
/tmp/ccMpQ5qW.o:(.data+0x17d8): undefined reference to `p_isnan'
/tmp/ccMpQ5qW.o:(.data+0x17f0): undefined reference to `p_isinf'
/tmp/ccMpQ5qW.o:(.data+0x19a0): undefined reference to `p_isFile'
/tmp/ccMpQ5qW.o:(.data+0x19b8): undefined reference to `p_isDirectory'
/tmp/ccMpQ5qW.o:(.data+0x1a00): undefined reference to `p_symbols'
/tmp/ccMpQ5qW.o:(.data+0x1a30): undefined reference to `p_debug'
/tmp/ccMpQ5qW.o:(.data+0x1a48): undefined reference to `p_trace'
/tmp/ccMpQ5qW.o:(.data+0x1a60): undefined reference to `p_traceHighlight'
/tmp/ccMpQ5qW.o:(.data+0x1b38): undefined reference to `p_systemInfo'
/tmp/ccMpQ5qW.o:(.data+0x1b50): undefined reference to `p_systemError'
/tmp/ccMpQ5qW.o:(.data+0x1b68): undefined reference to `p_date'
/tmp/ccMpQ5qW.o:(.data+0x1b80): undefined reference to `p_system'
/tmp/ccMpQ5qW.o:(.data+0x1b98): undefined reference to `p_fileInfo'
/tmp/ccMpQ5qW.o:(.data+0x1bc8): undefined reference to `p_copyFile'
/tmp/ccMpQ5qW.o:(.data+0x1be0): undefined reference to `p_renameFile'
/tmp/ccMpQ5qW.o:(.data+0x1bf8): undefined reference to `p_deleteFile'
/tmp/ccMpQ5qW.o:(.data+0x1c10): undefined reference to `p_makeDir'
/tmp/ccMpQ5qW.o:(.data+0x1c28): undefined reference to `p_removeDir'
/tmp/ccMpQ5qW.o:(.data+0x1c40): undefined reference to `p_changeDir'
/tmp/ccMpQ5qW.o:(.data+0x1c58): undefined reference to `p_directory'
/tmp/ccMpQ5qW.o:(.data+0x1c70): undefined reference to `p_realpath'
/tmp/ccMpQ5qW.o:(.data+0x1ca0): undefined reference to `p_env'
/tmp/ccMpQ5qW.o:(.data+0x1d18): undefined reference to `p_importLib'
/tmp/ccMpQ5qW.o:(.data+0x1d30): undefined reference to `p_callback'
/tmp/ccMpQ5qW.o:(.data+0x1d48): undefined reference to `p_deleteSymbol'
/tmp/ccMpQ5qW.o:(.data+0x1d90): undefined reference to `p_address'
/tmp/ccMpQ5qW.o:(.data+0x1dc0): undefined reference to `p_copyMemory'
/tmp/ccMpQ5qW.o:(.data+0x1df0): undefined reference to `p_sleep'
/tmp/ccMpQ5qW.o:(.data+0x1e08): undefined reference to `p_time'
/tmp/ccMpQ5qW.o:(.data+0x1e20): undefined reference to `p_timeOfDay'
/tmp/ccMpQ5qW.o:(.data+0x1e38): undefined reference to `p_now'
/tmp/ccMpQ5qW.o:(.data+0x1e50): undefined reference to `p_dateValue'
/tmp/ccMpQ5qW.o:(.data+0x1e80): undefined reference to `p_netClose'
/tmp/ccMpQ5qW.o:(.data+0x1e98): undefined reference to `p_netService'
/tmp/ccMpQ5qW.o:(.data+0x1eb0): undefined reference to `p_netConnect'
/tmp/ccMpQ5qW.o:(.data+0x1ec8): undefined reference to `p_netAccept'
/tmp/ccMpQ5qW.o:(.data+0x1ee0): undefined reference to `p_netLocal'
/tmp/ccMpQ5qW.o:(.data+0x1ef8): undefined reference to `p_netPeer'
/tmp/ccMpQ5qW.o:(.data+0x1f10): undefined reference to `p_netLookup'
/tmp/ccMpQ5qW.o:(.data+0x1f28): undefined reference to `p_netReceive'
/tmp/ccMpQ5qW.o:(.data+0x1f40): undefined reference to `p_netReceiveFrom'
/tmp/ccMpQ5qW.o:(.data+0x1f58): undefined reference to `p_netReceiveUDP'
/tmp/ccMpQ5qW.o:(.data+0x1f70): undefined reference to `p_netSend'
/tmp/ccMpQ5qW.o:(.data+0x1f88): undefined reference to `p_netSendTo'
/tmp/ccMpQ5qW.o:(.data+0x1fa0): undefined reference to `p_netSendUDP'
/tmp/ccMpQ5qW.o:(.data+0x1fb8): undefined reference to `p_netListen'
/tmp/ccMpQ5qW.o:(.data+0x1fd0): undefined reference to `p_netPeek'
/tmp/ccMpQ5qW.o:(.data+0x1fe8): undefined reference to `p_netSelect'
/tmp/ccMpQ5qW.o:(.data+0x2000): undefined reference to `p_netSessions'
/tmp/ccMpQ5qW.o:(.data+0x2018): undefined reference to `p_netEval'
/tmp/ccMpQ5qW.o:(.data+0x2030): undefined reference to `p_netInterface'
/tmp/ccMpQ5qW.o:(.data+0x2048): undefined reference to `p_netPing'
/tmp/ccMpQ5qW.o:(.data+0x2060): undefined reference to `p_netLastError'
collect2: ld returned 1 exit status
make[1]: *** [newlisp.o] Error 1
make[1]: Leaving directory `/the/path/to/newlisp10.1.0-alt/src/newlisp-10.1.0'
make: *** [default] Error 2
[1;31m==> ERROR:[1;0m[1;1m Build Failed.[1;0m
[1;1m    Aborting...[1;0m

exit

Script done on Wed 24 Jun 2009 03:01:26 AM CDT

Last edited by scrawler (2009-06-24 13:12:18)

Offline

#6 2009-06-26 02:51:17

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: help me fix my PKGBUILD?

can someone try to build this with the modified PKGBUILD please?

Offline

#7 2009-06-28 18:43:34

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: help me fix my PKGBUILD?

Try

# Contributor: scrawler <scrawler@gmail.com>
pkgname=newlisp
pkgver=10.1.0
pkgrel=1
pkgdesc="newLISP is a LISP like, general purpose scripting language."
url="http://www.newlisp.org"
license=('GPL')
arch=('x86_64' 'i686')
options=('docs')
source=(http://newlisp.com/downloads/$pkgname-$pkgver.tgz \
  http://www.newlisp.org/downloads/makefile_linuxLP64_utf8)
md5sums=('68be7fa39714dc4022941fdb1adba559' 'f80092edabd49bed4f2d468574100c57')
build() {
  cd $srcdir/$pkgname-$pkgver
  cp util/configure-alt configure
  cp util/build-alt build
  cp util/test-memorymodel.c .
  cp $srcdir/makefile_linuxLP64_utf8 $srcdir/$pkgname-$pkgver
  ./configure
  [ $CARCH = "x86_64" ] && make -f makefile_linuxLP64_utf8 
  [ $CARCH = "i686" ] && make -f makefile_linux_utf8
  install -d $pkgdir/usr/bin
  install -d $pkgdir/usr/share/man/man1
  make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man \
    datadir=$pkgdir/usr/share install
}

Works for me, but I tested only under x86_64 yet.

Offline

#8 2009-06-28 19:21:14

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: help me fix my PKGBUILD?

Thank you, Stefan,  this works for me too.  I'll put this in the aur.

Offline

Board footer

Powered by FluxBB