pkgsrc-Users archive

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

RE: Bootstrapping pkgsrc on SCO OpenServer 5 (GCC 4.2.4) and SCO OpenServer 6 (GCC 7.3.0)



On Tuesday 2022-07-26 17:42, Lance Payne wrote:

The linking of sh to ksh solved the libarchive issue, but now I get an abort at the following:

gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"SCO_SV\" -DPKGSRC_MACHINE_ARCH=\"\" -DBINDIR=\"/usr/pkg/sbin\" -I/src/pkgsrc/bootstrap/work/libnbcompat -I/src/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I. -I../lib -DBOOTSTRAP -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"SCO_SV\" -DPKGSRC_MACHINE_ARCH=\"\" -DBINDIR=\"/usr/pkg/sbin\" -I/src/pkgsrc/bootstrap/work/libnbcompat -I/src/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I. -I../lib -DBOOTSTRAP -g -O2 -c perform.c
perform.c: In function 'copy_data_to_disk':
perform.c:660: warning: passing argument 4 of 'archive_read_data_block' from incompatible pointer type
gcc -L/src/pkgsrc/bootstrap/work/libnbcompat -L../lib -o pkg_add main.o perform.o -linstall /src/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a  -lsocket  -lnbcompat
Undefined                       first referenced
symbol                              in file
dbopen                              libinstall.a(pkgdb.o)
UX:i386ld: ERROR: Symbol referencing errors. No output written to pkg_add
collect2: ld returned 1 exit status
*** [pkg_add] Error code 1

I haven't been able to duplicate your error. Maybe other patches might be needed or your linking path.

Your time is worth money, after the help you've offered, if this finally builds, I'd like to pay you a reasonable fee as a thank you.

Thank you, What code base are you using for your bootstrap? Are you using a quarterly release? On OpenServer 5 Definitive I use a mixture. Most if from pkgsrc_2022Q1 with some from Git 2015.

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index