Actions
Bug #1107
closedfirefox3
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Hi,
it's a pity that on dfbsd 2.x still there are problem during firefox3
compile phase:
`/home/pkgsrc/www/firefox3/work/mozilla/security/dbm/src'
cc -o /usr/pkgsrc/www/firefox3/work/mozilla/nss/dbm/db.o -c -fPIC -ansi
-Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG
-DNDEBUG -D_TH
READ_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
-DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DMEMMOVE
-D__DBINTERFACE_PRIVATE -I/usr/X11R
6/include -I/home/pkgsrc/www/firefox3/work/mozilla/dist/include/nspr
-I/home/pkgsrc/www/firefox3/work/mozilla/dist/include
-I/usr/pkgsrc/www/firefox3/wo
rk/mozilla/dist/public/dbm
-I/usr/pkgsrc/www/firefox3/work/mozilla/dist/private/dbm
-I/usr/pkgsrc/www/firefox3/work/mozilla/dist/include -I../../../dbm/
include ../../../dbm/src/db.c
In file included from ../../../dbm/src/db.c:52:
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:46:21:
error: prtypes.h: No such file or directory
In file included from
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:55,
from ../../../dbm/src/db.c:52:
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/cdefs.h:58:1:
warning: "__CONCAT" redefined
In file included from /usr/include/sys/types.h:47,
from ../../../dbm/src/db.c:44:
/usr/include/sys/cdefs.h:91:1: warning: this is the location of the
previous definition
In file included from
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:55,
from ../../../dbm/src/db.c:52:
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/cdefs.h:123:1:
warning: "__pure" redefined
In file included from /usr/include/sys/types.h:47,
from ../../../dbm/src/db.c:44:
/usr/include/sys/cdefs.h:170:1: warning: this is the location of the
previous definition
In file included from ../../../dbm/src/db.c:52:
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:239:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pgno_t'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:243:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'indx_t'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:245:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recno_t'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:312:
error: expected specifier-qualifier-list before 'uint32'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:333:
error: expected specifier-qualifier-list before 'uint32'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:343:
error: expected specifier-qualifier-list before 'uint32'
/usr/pkgsrc/www/firefox3/work/mozilla/dist/public/dbm/mcom_db.h:406:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PR_EXTERN'
./../../dbm/src/db.c:55: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'
./../../dbm/src/db.c: In function 'dbSetOrClearDBLock':
./../../dbm/src/db.c:64: error: 'all_databases_locked_closed'
undeclared (first use in this function)
./../../dbm/src/db.c:64: error: (Each undeclared identifier is reported
only once
./../../dbm/src/db.c:64: error: for each function it appears in.)
./../../dbm/src/db.c: At top level:
./../../dbm/src/db.c:74: warning: return type defaults to 'int'
./../../dbm/src/db.c: In function 'PR_IMPLEMENT':
./../../dbm/src/db.c:74: error: expected declaration specifiers before
'dbopen'
./../../dbm/src/db.c:122: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
./../../dbm/src/db.c:134: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
./../../dbm/src/db.c:72: error: parameter name omitted
./../../dbm/src/db.c:142: error: expected '{' at end of input
make5: * [/usr/pkgsrc/www/firefox3/work/mozilla/nss/dbm/db.o] Error 1
make5: Leaving directory
`/home/pkgsrc/www/firefox3/work/mozilla/security/dbm/src'
make4: [libs] Error 2
make4: Leaving directory
`/home/pkgsrc/www/firefox3/work/mozilla/security/dbm'
make3: [libs] Error 2
make3: Leaving directory
`/home/pkgsrc/www/firefox3/work/mozilla/security/manager'
make2: [libs_tier_toolkit] Error 2
make2: Leaving directory `/home/pkgsrc/www/firefox3/work/mozilla'
make1: [tier_toolkit] Error 2
make1: Leaving directory `/home/pkgsrc/www/firefox3/work/mozilla'
gmake: * [default] Error 2
- Error code 2
Any idea to fix it?
Bye, \fer
Updated by wa1ter about 16 years ago
Firefox3 compiles without error on my -DEVEL machine, so I can't help
much. The 'missing' header file is located in the directory indicated
correctly in the -I/ path above. Is the file really there where it
should be?
I always look in the work/.buildlink/include/ directory to see if there
are any obvious mistakes there -- sometimes there are.
Updated by wa1ter about 16 years ago
Wait, I just noticed that some paths refer to /home/pkgsrc and others
to /usr/pkgsrc. Any idea why the mixture of 'home' and 'usr'?
Actions