Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9290 closed defect (fixed)

openl2tp fails to build

Reported by: oss@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openl2tp Cc:

Description

make[3]: Entering directory `/home/wrtdev/trunk/build_dir/linux-ar71xx_generic/openl2tp-1.8'
rm -f l2tp_rpc.h
rm -f l2tp_rpc_server.c l2tp_rpc_server.c.tmp
rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x
usage: rpcgen infile

rpcgen [-a][-b][-C][-Dname[=value]] -i size [-I [-K seconds]] [-L][-N][-T] infile
rpcgen [-c | -h | -l | -m | -t | -Sc | -Ss] [-o outfile] [infile]
rpcgen [-s nettype]* [-o outfile] [infile]
rpcgen [-n netid]* [-o outfile] [infile]

options:
-a generate all files, including samples
-b backward compatibility mode (generates code for SunOS 4.1)
-c generate XDR routines
-C ANSI C mode
-Dname[=value] define a symbol (same as #define)
-h generate header file
-i size size at which to start generating inline code
-I generate code for inetd support in server (for SunOS 4.1)
-K seconds server exits after K seconds of inactivity
-l generate client side stubs
-L server errors will be printed to syslog
-m generate server side stubs
-n netid generate server code that supports named netid
-N supports multiple arguments and call-by-value
-o outfile name of the output file
-s nettype generate server code that supports named nettype
-Sc generate sample client code that uses remote procedures
-Ss generate sample server code that defines remote procedures
-t generate RPC dispatch table
-T generate code to support RPC dispatch tables
-Y path directory name to find C preprocessor (cpp)
rpcgen -N -M -C -L -m -o l2tp_rpc_server.c.tmp l2tp_rpc.x
usage: rpcgen infile

rpcgen [-a][-b][-C][-Dname[=value]] -i size [-I [-K seconds]] [-L][-N][-T] infile
rpcgen [-c | -h | -l | -m | -t | -Sc | -Ss] [-o outfile] [infile]
rpcgen [-s nettype]* [-o outfile] [infile]
rpcgen [-n netid]* [-o outfile] [infile]

options:
-a generate all files, including samples
-b backward compatibility mode (generates code for SunOS 4.1)
-c generate XDR routines
-C ANSI C mode
-Dname[=value] define a symbol (same as #define)
-h generate header file
-i size size at which to start generating inline code
-I generate code for inetd support in server (for SunOS 4.1)
-K seconds server exits after K seconds of inactivity
-l generate client side stubs
-L server errors will be printed to syslog
-m generate server side stubs
-n netid generate server code that supports named netid
-N supports multiple arguments and call-by-value
-o outfile name of the output file
-s nettype generate server code that supports named nettype
-Sc generate sample client code that uses remote procedures
-Ss generate sample server code that defines remote procedures
-t generate RPC dispatch table
-T generate code to support RPC dispatch tables
-Y path directory name to find C preprocessor (cpp)
make[3]: * [l2tp_rpc.h] Error 1
make[3]:
* Waiting for unfinished jobs....
make[3]: * [l2tp_rpc_server.c] Error 1
make[3]: Leaving directory `/home/wrtdev/trunk/build_dir/linux-ar71xx_generic/openl2tp-1.8'
make[2]:
* /home/wrtdev/trunk/build_dir/linux-ar71xx_generic/openl2tp-1.8/.built Error 2
make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/net/openl2tp'
make[1]: * [package/feeds/packages/openl2tp/compile] Error 2
make[1]: Leaving directory `/home/wrtdev/trunk'
make:
* [package/openl2tp/compile] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

Openl2tp 1.8 (latest version) depends on rpcgen features not available on all systems (e.g.: the "-M" option).

From the man page

-M     Generate  multithread-safe  stubs  for  passing  arguments   and
       results  between  rpcgen-generated  code  and user written code.
       This option is useful for users who want to use threads in their
       code.

In OSes with a more complete rpcgen (example: Ubuntu 10.04), openl2tp 1.8 builds with no problems.

For more info about this problem see ticket #9179

comment:2 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r28429

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.